type GoogleDriveErrorBody = {
    error?: {
        code?: number;
        status?: string;
        message?: string;
        errors?: Array<{
            reason?: string;
            message?: string;
        }>;
        details?: Array<{
            reason?: string;
            '@type'?: string;
        }>;
    };
};
type MappedUploadError = {
    message: string;
    isRetryable: boolean;
};
/**
 * Maps a Google Drive API error to an actionable user-facing message and a retry hint.
 * The retry hint is consumed by retryPromise to short-circuit on non-transient failures.
 */
export declare const mapGoogleDriveUploadError: (httpStatus: number, body: GoogleDriveErrorBody | null) => MappedUploadError;
export declare const uploadFileToGoogleDriveAppStorage: ({ accessToken, fileName, jsonData, }: {
    accessToken: string;
    fileName: string;
    jsonData: unknown;
}) => Promise<any>;
export declare const uploadFileToGoogleDrivePersonal: ({ accessToken, fileName, jsonData, }: {
    accessToken: string;
    fileName: string;
    jsonData: unknown;
}) => Promise<any>;
export declare const listFilesFromGoogleDrive: ({ accessToken, fileName, }: {
    accessToken: string;
    fileName: string;
}) => Promise<any>;
export declare const downloadFileFromGoogleDrive: ({ accessToken, fileName, }: {
    accessToken: string;
    fileName: string;
}) => Promise<unknown | null>;
export {};
//# sourceMappingURL=googleDrive.d.ts.map