import { Config } from '../types/types.js'; export type TokenResponse = { access_token: string; token_type: string; expires_in: string; scope: string; refresh_token?: string; auth_time?: string; issued_token_type?: string; }; /** * method helper for generating the authorization url in OAuth flows based on the Config, * includes code_challenge, PKCE-flow * @param state - for validating against potential CSRF attacks, * will generate and use a random string if not set * @returns authorization url and code verifier */ export declare const generateAuthorizationUrl: (config: Config, state?: string) => Promise<{ url: string; verifier: string; state: string; }>;