import type { APIDMChannel, RESTDeleteAPIGuildResult, RESTGetAPICurrentUserApplicationRoleConnectionResult, RESTGetAPICurrentUserConnectionsResult, RESTGetAPICurrentUserGuildsQuery, RESTGetAPICurrentUserGuildsResult, RESTGetAPICurrentUserResult, RESTGetAPIUserResult, RESTGetCurrentUserGuildMemberResult, RESTPatchAPICurrentUserJSONBody, RESTPatchAPICurrentUserResult, RESTPostAPICurrentUserCreateDMChannelJSONBody, RESTPutAPICurrentUserApplicationRoleConnectionJSONBody, RESTPutAPICurrentUserApplicationRoleConnectionResult, } from 'discord-api-types/v10'; import type { ProxyRequestMethod } from '../Router'; import type { RestArguments } from '../api'; export interface UserRoutes { users: { ( id: string, ): { get(args?: RestArguments): Promise; }; ( id: '@me', ): { get(args?: RestArguments): Promise; patch( args: RestArguments, ): Promise; guilds: { get( args?: RestArguments, ): Promise; ( id: string, ): { member: { get(args?: RestArguments): Promise; }; delete(args?: RestArguments): Promise; }; }; channels: { post( args: RestArguments, ): Promise; }; connections: { get(args?: RestArguments): Promise; }; applications(applicationId: string): { 'role-connection': { get( args?: RestArguments, ): Promise; put( args: RestArguments, ): Promise; }; }; }; }; }