import { PkceParameters, ExchangeCodeParams, RefreshTokenParams } from '../types.cjs'; declare function createAuthorizationUri(options: { state: string; scope: string[]; clientId: string; redirectUri: string; authorizationUri: string; pkce?: Omit; }): URL; declare function exchangeAuthorizationCode(params: ExchangeCodeParams & { tokenUri: string; authentication?: 'basic' | 'post'; }): Promise; declare function refreshAccessToken(params: RefreshTokenParams & { tokenUri: string; authentication?: 'basic' | 'post'; }): Promise; interface RevokeTokenParams { token: string; clientId: string; clientSecret: string; tokenRevokeUri: string; authentication?: 'basic' | 'post'; } declare function revokeToken(params: RevokeTokenParams): Promise; declare function verifyIdToken(idToken: string, jwkSetUri: string): Promise; export { createAuthorizationUri, exchangeAuthorizationCode, refreshAccessToken, revokeToken, verifyIdToken };