interface OAuthStateEntry {
    provider: string;
    codeVerifier: string;
    bearerToken: string;
    redirectTo?: string;
    createdAt: number;
}
interface CreateOAuthStateInput {
    provider: string;
    bearerToken: string;
    redirectTo?: string;
}
export declare function createOAuthState(input: CreateOAuthStateInput): {
    state: string;
    codeVerifier: string;
    codeChallenge: string;
};
export declare function consumeOAuthState(state: string): OAuthStateEntry | null;
export {};
//# sourceMappingURL=oauth_state.d.ts.map