import { type SpawnResult } from "../platform/process/exec.js";
export declare function resetGmailSetupUtilsCachesForTest(): void;
export declare function resolvePythonExecutablePath(): Promise<string | undefined>;
export declare function ensureDependency(bin: string, brewArgs: string[]): Promise<void>;
export declare function ensureGcloudAuth(): Promise<void>;
export declare function runGcloud(args: string[]): Promise<SpawnResult>;
export declare function ensureTopic(projectId: string, topicName: string): Promise<void>;
export declare function ensureSubscription(projectId: string, subscription: string, topicName: string, pushEndpoint: string): Promise<void>;
export declare function ensureTailscaleEndpoint(params: {
    mode: "off" | "serve" | "funnel";
    path: string;
    port?: number;
    target?: string;
    token?: string;
}): Promise<string>;
export declare function resolveProjectIdFromGogCredentials(): Promise<string | null>;
export declare function gogCredentialsPaths(): string[];
/**
 * Extract Google OAuth client credentials (client_id + client_secret) from gog CLI credential files.
 * Searches standard gog CLI config paths. Supports `installed`, `web`, and flat JSON formats.
 * Returns null if no valid credentials file is found.
 */
export declare function extractGogClientCredentials(): {
    clientId: string;
    clientSecret: string;
} | null;
