export interface TokenRequest { username?: string; password?: string; grant_type: 'password' | 'client_credentials' | 'refresh_token'; client_id: string; client_secret: string; refresh_token?: string; } export interface TokenSuccessResponse { access_token: string; token_type: string; expires_in: number; user_token?: string; refresh_token?: string; } export interface TokenErrorResponse { error: 'invalid_request' | 'invalid_client' | 'invalid_grant' | 'unauthorized_client' | 'unsupported_grant_type' | string; error_description?: string; } //# sourceMappingURL=auth.d.ts.map