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