import type { OpenGeniBrowserClient } from "@opengeni/sdk/browser"; export declare const DRIVE_MCP_URL = "https://drivemcp.googleapis.com/mcp/v1"; export declare const DRIVE_CONNECT_RETURN_PARAM = "drive_connect_return"; type Storage = Pick; /** Browser state is only a locator. Completion and the account come from Connect. */ export declare function beginDriveConnect(input: { client: Pick; workspaceId: string; connectionWorkspaceId?: string; itemId: string; reconnectAccountId?: string; returnUrl: string; storage: Storage; }): Promise; export declare function resolveDriveConnectReturn(input: { client: Pick; workspaceId: string; nonce: string; storage: Storage; }): Promise<{ itemId: string; connectionId: string; }>; /** Clear only after the UI has finished enabling; never consume a newer attempt. */ export declare function completeDriveConnectReturn(workspaceId: string, nonce: string, storage: Storage): void; export {};