import type { RESTGetAPIApplicationCommandResult, RESTGetAPIApplicationCommandsQuery, RESTGetAPIApplicationCommandsResult, RESTGetAPIApplicationGuildCommandResult, RESTGetAPIApplicationGuildCommandsQuery, RESTGetAPIApplicationGuildCommandsResult, RESTGetAPIApplicationRoleConnectionMetadataResult, RESTGetAPIGuildApplicationCommandsPermissionsResult, RESTPatchAPIApplicationCommandJSONBody, RESTPatchAPIApplicationCommandResult, RESTPatchAPIApplicationGuildCommandJSONBody, RESTPatchAPIApplicationGuildCommandResult, RESTPostAPIApplicationCommandsJSONBody, RESTPostAPIApplicationCommandsResult, RESTPostAPIApplicationGuildCommandsJSONBody, RESTPostAPIApplicationGuildCommandsResult, RESTPutAPIApplicationCommandPermissionsJSONBody, RESTPutAPIApplicationCommandsJSONBody, RESTPutAPIApplicationCommandsResult, RESTPutAPIApplicationGuildCommandsJSONBody, RESTPutAPIApplicationGuildCommandsResult, RESTPutAPIApplicationRoleConnectionMetadataJSONBody, RESTPutAPIApplicationRoleConnectionMetadataResult, RESTPutAPIGuildApplicationCommandsPermissionsResult, } from '../../common'; import type { RestArguments } from '../api'; import type { ProxyRequestMethod } from '../Router'; export interface ApplicationRoutes { applications: { ( id: string, ): { guilds: { ( id: string, ): { commands: { get( args?: RestArguments, ): Promise; post( args: RestArguments, ): Promise; put( args?: RestArguments, ): Promise; permissions: { get( args?: RestArguments, ): Promise; // put(args?: RestArguments): Promise }; ( id: string, ): { get(args?: RestArguments): Promise; patch( args: RestArguments, ): Promise; delete(args?: RestArguments): Promise; permissions: { get( args?: RestArguments, ): Promise; put( args?: RestArguments, ): Promise; }; }; }; }; }; commands: { get( args?: RestArguments, ): Promise; post( args: RestArguments, ): Promise; put( args?: RestArguments, ): Promise; ( id: string, ): { get(args?: RestArguments): Promise; patch( args: RestArguments, ): Promise; delete(args?: RestArguments): Promise; }; }; 'role-connections': { metadata: { get(args?: RestArguments): Promise; put( args: RestArguments, ): Promise; }; }; }; }; }