export interface E2EOAuthSetupSession {
    setupId: string;
    expectedEmail: string;
    scopes: string[];
    redirectUri: string;
    state: string;
    createdAt: string;
    expiresAt: string;
    requestSource: "cli" | "chat";
    channel?: string;
    sender?: string;
}
export declare function createOAuthSetupSession(input: {
    expectedEmail: string;
    scopes: string[];
    redirectUri: string;
    requestSource: "cli" | "chat";
    channel?: string;
    sender?: string;
}): E2EOAuthSetupSession;
export declare function saveOAuthSetupSession(session: E2EOAuthSetupSession): void;
export declare function loadOAuthSetupSession(setupId: string): E2EOAuthSetupSession | null;
export declare function deleteOAuthSetupSession(setupId: string): void;
export declare function parseCallbackUrl(callbackUrl: string): {
    code: string;
    state?: string;
};
//# sourceMappingURL=oauth-setup-store.d.ts.map