import { OAuthApplication } from './OAuthApplication'; import { OAuthBody } from './OAuthBody'; import { OAuthClient } from './OAuthClient'; import { HttpClient } from '../http'; export declare class OAuthAPI { private readonly client; constructor(client: HttpClient); static readonly URL: { APPLICATIONS: string; AUTHORIZATION: string; CODES: string; CLIENTS: string; OAUTH: string; SESSIONS: string; }; /** * Get all OAuth applications. */ getApplications(): Promise; /** * Remove an application by ID. */ deleteApplication(applicationId: string, password?: string): Promise; /** * Create an OAuth authorization code. */ postOAuthCode(oauthBody: OAuthBody): Promise; /** * Get OAuth client information. */ getClient(applicationId: string): Promise; } //# sourceMappingURL=OAuthAPI.d.ts.map