/** * Get a fresh OAuth access token for an external service. * Automatically refreshes expired tokens. */ export declare function getAccessToken(args: { provider: string; user_id: string; label?: string; }): Promise<{ access_token: string; expires_at: string | null; scopes: string[]; label: string; }>; /** * List a user's connected OAuth providers. */ export declare function listConnections(args: { user_id: string; }): Promise<{ connections: Array<{ provider: string; label: string; email: string | null; scopes: string[]; expires_at: string | null; credential_type: string | null; }>; }>; /** * Revoke an OAuth connection for a user. */ export declare function revokeConnection(args: { provider: string; user_id: string; label?: string; }): Promise<{ success: boolean; }>;