export declare const QUERY_KEY = "get-connected-calendars";
export declare const useConnectedCalendars: (props: {
    enabled?: boolean;
}) => import("@tanstack/react-query").UseQueryResult<{
    connectedCalendars: ({
        integration: {
            installed?: boolean;
            type: `${string}_calendar` | `${string}_messaging` | `${string}_payment` | `${string}_video` | `${string}_other` | `${string}_automation` | `${string}_analytics` | `${string}_crm` | `${string}_other_calendar`;
            title?: string;
            name: string;
            description: string;
            variant: "calendar" | "payment" | "conferencing" | "video" | "other" | "other_calendar" | "automation" | "crm";
            slug: string;
            category?: string;
            categories: import('../../../prisma-client').AppCategories[];
            extendsFeature?: "EventType" | "User";
            logo: string;
            publisher: string;
            url: string;
            docsUrl?: string;
            verified?: boolean;
            trending?: boolean;
            rating?: number;
            reviews?: number;
            isGlobal?: boolean;
            simplePath?: string;
            email: string;
            key?: import('../../../prisma-client').Prisma.JsonValue;
            feeType?: "monthly" | "usage-based" | "one-time" | "free";
            price?: number;
            commission?: number;
            licenseRequired?: boolean;
            teamsPlanRequired?: {
                upgradeUrl: string;
            };
            appData?: import("@calcom/types/App").AppData;
            paid?: import("@calcom/types/App").PaidAppData;
            dirName?: string;
            isTemplate?: boolean;
            __template?: string;
            dependencies?: string[];
            concurrentMeetings?: boolean;
            createdAt?: string;
            isOAuth?: boolean;
            delegationCredential?: {
                workspacePlatformSlug: string;
            };
            locationOption: import('../../../app-store/utils').LocationOption | null;
        };
        credentialId: number;
        delegationCredentialId: string | null;
        error?: undefined;
        primary?: undefined;
        calendars?: undefined;
    } | {
        integration: {
            installed?: boolean;
            type: `${string}_calendar` | `${string}_messaging` | `${string}_payment` | `${string}_video` | `${string}_other` | `${string}_automation` | `${string}_analytics` | `${string}_crm` | `${string}_other_calendar`;
            title?: string;
            name: string;
            description: string;
            variant: "calendar" | "payment" | "conferencing" | "video" | "other" | "other_calendar" | "automation" | "crm";
            slug: string;
            category?: string;
            categories: import('../../../prisma-client').AppCategories[];
            extendsFeature?: "EventType" | "User";
            logo: string;
            publisher: string;
            url: string;
            docsUrl?: string;
            verified?: boolean;
            trending?: boolean;
            rating?: number;
            reviews?: number;
            isGlobal?: boolean;
            simplePath?: string;
            email: string;
            key?: import('../../../prisma-client').Prisma.JsonValue;
            feeType?: "monthly" | "usage-based" | "one-time" | "free";
            price?: number;
            commission?: number;
            licenseRequired?: boolean;
            teamsPlanRequired?: {
                upgradeUrl: string;
            };
            appData?: import("@calcom/types/App").AppData;
            paid?: import("@calcom/types/App").PaidAppData;
            dirName?: string;
            isTemplate?: boolean;
            __template?: string;
            dependencies?: string[];
            concurrentMeetings?: boolean;
            createdAt?: string;
            isOAuth?: boolean;
            delegationCredential?: {
                workspacePlatformSlug: string;
            };
            locationOption: import('../../../app-store/utils').LocationOption | null;
        };
        credentialId: number;
        error: {
            message: string;
        };
        delegationCredentialId?: undefined;
        primary?: undefined;
        calendars?: undefined;
    } | {
        integration: {
            installed?: boolean;
            type: `${string}_calendar` | `${string}_messaging` | `${string}_payment` | `${string}_video` | `${string}_other` | `${string}_automation` | `${string}_analytics` | `${string}_crm` | `${string}_other_calendar`;
            title?: string;
            name: string;
            description: string;
            variant: "calendar" | "payment" | "conferencing" | "video" | "other" | "other_calendar" | "automation" | "crm";
            slug: string;
            category?: string;
            categories: import('../../../prisma-client').AppCategories[];
            extendsFeature?: "EventType" | "User";
            logo: string;
            publisher: string;
            url: string;
            docsUrl?: string;
            verified?: boolean;
            trending?: boolean;
            rating?: number;
            reviews?: number;
            isGlobal?: boolean;
            simplePath?: string;
            email: string;
            key?: import('../../../prisma-client').Prisma.JsonValue;
            feeType?: "monthly" | "usage-based" | "one-time" | "free";
            price?: number;
            commission?: number;
            licenseRequired?: boolean;
            teamsPlanRequired?: {
                upgradeUrl: string;
            };
            appData?: import("@calcom/types/App").AppData;
            paid?: import("@calcom/types/App").PaidAppData;
            dirName?: string;
            isTemplate?: boolean;
            __template?: string;
            dependencies?: string[];
            concurrentMeetings?: boolean;
            createdAt?: string;
            isOAuth?: boolean;
            delegationCredential?: {
                workspacePlatformSlug: string;
            };
            locationOption: import('../../../app-store/utils').LocationOption | null;
        };
        credentialId: number;
        delegationCredentialId: string | null;
        primary: {
            readOnly: boolean;
            primary: true | null;
            isSelected: boolean;
            credentialId: number;
            delegationCredentialId: string | null;
            name?: string;
            email?: string;
            primaryEmail?: string;
            integrationTitle?: string;
            error?: string | null | undefined;
            id?: string | undefined;
            userId?: number | undefined;
            eventTypeId?: number | null | undefined;
            createdAt?: Date | null | undefined;
            updatedAt?: Date | null | undefined;
            integration?: string | undefined;
            domainWideDelegationCredentialId?: string | null | undefined;
            googleChannelId?: string | null | undefined;
            googleChannelKind?: string | null | undefined;
            googleChannelResourceId?: string | null | undefined;
            googleChannelResourceUri?: string | null | undefined;
            googleChannelExpiration?: string | null | undefined;
            lastErrorAt?: Date | null | undefined;
            watchAttempts?: number | undefined;
            unwatchAttempts?: number | undefined;
            maxAttempts?: number | undefined;
            externalId: string;
        };
        calendars: {
            readOnly: boolean;
            primary: true | null;
            isSelected: boolean;
            credentialId: number;
            delegationCredentialId: string | null;
            name?: string;
            email?: string;
            primaryEmail?: string;
            integrationTitle?: string;
            error?: string | null | undefined;
            id?: string | undefined;
            userId?: number | undefined;
            eventTypeId?: number | null | undefined;
            createdAt?: Date | null | undefined;
            updatedAt?: Date | null | undefined;
            integration?: string | undefined;
            domainWideDelegationCredentialId?: string | null | undefined;
            googleChannelId?: string | null | undefined;
            googleChannelKind?: string | null | undefined;
            googleChannelResourceId?: string | null | undefined;
            googleChannelResourceUri?: string | null | undefined;
            googleChannelExpiration?: string | null | undefined;
            lastErrorAt?: Date | null | undefined;
            watchAttempts?: number | undefined;
            unwatchAttempts?: number | undefined;
            maxAttempts?: number | undefined;
            externalId: string;
        }[];
        error?: undefined;
    } | {
        integration: {
            installed?: boolean;
            type: `${string}_calendar` | `${string}_messaging` | `${string}_payment` | `${string}_video` | `${string}_other` | `${string}_automation` | `${string}_analytics` | `${string}_crm` | `${string}_other_calendar`;
            title?: string;
            name: string;
            description: string;
            variant: "calendar" | "payment" | "conferencing" | "video" | "other" | "other_calendar" | "automation" | "crm";
            slug: string;
            category?: string;
            categories: import('../../../prisma-client').AppCategories[];
            extendsFeature?: "EventType" | "User";
            logo: string;
            publisher: string;
            url: string;
            docsUrl?: string;
            verified?: boolean;
            trending?: boolean;
            rating?: number;
            reviews?: number;
            isGlobal?: boolean;
            simplePath?: string;
            email: string;
            key?: import('../../../prisma-client').Prisma.JsonValue;
            feeType?: "monthly" | "usage-based" | "one-time" | "free";
            price?: number;
            commission?: number;
            licenseRequired?: boolean;
            teamsPlanRequired?: {
                upgradeUrl: string;
            };
            appData?: import("@calcom/types/App").AppData;
            paid?: import("@calcom/types/App").PaidAppData;
            dirName?: string;
            isTemplate?: boolean;
            __template?: string;
            dependencies?: string[];
            concurrentMeetings?: boolean;
            createdAt?: string;
            isOAuth?: boolean;
            delegationCredential?: {
                workspacePlatformSlug: string;
            };
            locationOption: import('../../../app-store/utils').LocationOption | null;
        };
        credentialId: number;
        delegationCredentialId: string | null | undefined;
        error: {
            message: string;
        };
        primary?: undefined;
        calendars?: undefined;
    })[];
    destinationCalendar: {
        primary?: boolean;
        name?: string;
        readOnly?: boolean;
        email?: string;
        primaryEmail: string | null;
        credentialId: number | null;
        integrationTitle?: string;
        error?: string | null | undefined;
        id: string | number;
        userId: number | null;
        eventTypeId: number | null;
        createdAt: Date | null;
        updatedAt: Date | null;
        integration: string;
        delegationCredentialId: string | null;
        domainWideDelegationCredentialId: string | null;
        googleChannelId?: string | null | undefined;
        googleChannelKind?: string | null | undefined;
        googleChannelResourceId?: string | null | undefined;
        googleChannelResourceUri?: string | null | undefined;
        googleChannelExpiration?: string | null | undefined;
        lastErrorAt?: Date | null | undefined;
        watchAttempts?: number | undefined;
        unwatchAttempts?: number | undefined;
        maxAttempts?: number | undefined;
        externalId: string;
    };
}, Error>;
//# sourceMappingURL=useConnectedCalendars.d.ts.map