/**
 * OIDC/OAuth2 helpers
 */
export interface OIDCConfig {
    issuer: string;
    clientId: string;
    clientSecret: string;
    redirectUri: string;
}
export interface TokenResponse {
    access_token: string;
    token_type: string;
    expires_in?: number;
    refresh_token?: string;
    id_token?: string;
}
export declare class OIDCProvider {
    private config;
    constructor(config: OIDCConfig);
    getAuthorizationUrl(state: string): string;
    exchangeCodeForToken(code: string): Promise<string>;
}
//# sourceMappingURL=oidc.d.ts.map