import type { GoogleCalendarOperation, GoogleConnectionStatus, GoogleGmailOperation, GoogleManagedToolOperationOption, GoogleSheetsOperation, ManagedToolsConfig } from '../types'; import { IANA_TIMEZONE_OPTIONS } from './iana-timezones'; export declare const GOOGLE_IDENTITY_SCOPES: readonly ["openid", "https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/userinfo.profile"]; export declare const GOOGLE_CALENDAR_SCOPE = "https://www.googleapis.com/auth/calendar"; export declare const GOOGLE_SHEETS_SCOPE = "https://www.googleapis.com/auth/spreadsheets"; export declare const GOOGLE_GMAIL_READ_SCOPE = "https://www.googleapis.com/auth/gmail.readonly"; export declare const GOOGLE_GMAIL_SEND_SCOPE = "https://www.googleapis.com/auth/gmail.send"; export declare const GOOGLE_CALENDAR_OPERATION_OPTIONS: GoogleManagedToolOperationOption[]; export declare const GOOGLE_SHEETS_OPERATION_OPTIONS: GoogleManagedToolOperationOption[]; export declare const GOOGLE_GMAIL_OPERATION_OPTIONS: GoogleManagedToolOperationOption[]; export declare const GOOGLE_MANAGED_OPERATION_OPTIONS: { readonly google_calendar: GoogleManagedToolOperationOption[]; readonly google_sheets: GoogleManagedToolOperationOption[]; readonly google_gmail: GoogleManagedToolOperationOption[]; }; export { IANA_TIMEZONE_OPTIONS }; export declare function getManagedToolSelectedOperations(selectedOperations: string[] | null | undefined, options: readonly GoogleManagedToolOperationOption[]): T[]; export declare function toggleManagedToolOperation(selectedOperations: string[] | null | undefined, options: readonly GoogleManagedToolOperationOption[], operation: T, checked: boolean): T[]; export declare function getRequiredGoogleScopes(managedTools?: ManagedToolsConfig | null): string[]; export declare function getMissingGoogleScopes(requiredScopes: string[] | null | undefined, grantedScopes: string[] | null | undefined): string[]; export declare function getMissingGoogleScopesForManagedTools(managedTools: ManagedToolsConfig | null | undefined, grantedScopes: string[] | null | undefined): string[]; export declare function isGoogleReconnectRequired(managedTools: ManagedToolsConfig | null | undefined, grantedScopes: string[] | null | undefined, connected: boolean): boolean; export declare function getGoogleReconnectState(managedTools: ManagedToolsConfig | null | undefined, status: Pick | null | undefined): { required_scopes: string[]; missing_scopes: string[]; reconnect_required: boolean; }; export declare function hasEnabledGoogleManagedTools(managedTools: ManagedToolsConfig | null | undefined): boolean; //# sourceMappingURL=google.d.ts.map