declare const setCredentialsMock: import("vitest").Mock<(...args: any[]) => any>;
declare const freebusyQueryMock: import("vitest").Mock<(...args: any[]) => any>;
declare const calendarListMock: import("vitest").Mock<(...args: any[]) => any>;
declare const calendarMock: {
    calendar_v3: {
        Calendar: import("vitest").Mock<(...args: any[]) => any>;
    };
};
declare const adminMock: {
    admin_directory_v1: {
        Admin: import("vitest").Mock<(...args: any[]) => any>;
    };
};
export interface MockJWT {
    type: "jwt";
    config: {
        email: string;
        key: string;
        scopes: string[];
        subject: string;
    };
    authorize: () => Promise<void>;
}
export type MockOAuth2Client = {
    type: "oauth2";
    args: [string, string, string];
    setCredentials: typeof setCredentialsMock;
    refreshToken: () => Promise<{
        res: {
            data: typeof MOCK_OAUTH2_TOKEN;
            status: number;
            statusText: string;
        };
    }>;
    isTokenExpiring: () => boolean;
};
export declare const MOCK_JWT_TOKEN: {
    access_token: string;
    refresh_token: string;
    scope: string;
    token_type: string;
    expiry_date: number;
};
export declare const MOCK_OAUTH2_TOKEN: {
    access_token: string;
    refresh_token: string;
    scope: string;
    token_type: string;
    expiry_date: number;
};
declare const getLastCreatedJWT: () => MockJWT | null;
declare const getLastCreatedOAuth2Client: () => MockOAuth2Client | null;
declare const setLastCreatedJWT: (jwt: MockJWT | null) => void;
declare const setLastCreatedOAuth2Client: (oauth2Client: MockOAuth2Client | null) => void;
export { calendarMock, adminMock, setCredentialsMock, freebusyQueryMock, calendarListMock, getLastCreatedJWT, getLastCreatedOAuth2Client, setLastCreatedJWT, setLastCreatedOAuth2Client, };
//# sourceMappingURL=googleapis.d.ts.map