export type Credentials = { access_token: string; refresh_token: string; expires_in: number; residency?: string; token_type?: string; }; export declare class RedoclyOAuthDeviceFlow { private baseUrl; private apiClient; private clientName; constructor(baseUrl: string); run(): Promise; private openBrowser; verifyToken(accessToken: string): Promise; verifyApiKey(apiKey: string): Promise; refreshToken(refreshToken?: string): Promise; private pollingAccessToken; private getAccessToken; private getDeviceCode; private sendRequest; private withResidency; } //# sourceMappingURL=device-flow.d.ts.map