export type UseScheduleWithCacheArgs = {
    username?: string | null;
    eventSlug?: string | null;
    eventId?: number | null;
    month?: string | null;
    timezone?: string | null;
    selectedDate?: string | null;
    prefetchNextMonth?: boolean;
    duration?: number | null;
    monthCount?: number | null;
    dayCount?: number | null;
    rescheduleUid?: string | null;
    isTeamEvent?: boolean;
    orgSlug?: string;
    teamMemberEmail?: string | null;
    useApiV2?: boolean;
    enabled?: boolean;
};
export declare const useSchedule: ({ month, timezone, username, eventSlug, eventId, selectedDate, prefetchNextMonth, duration, monthCount, dayCount, rescheduleUid, isTeamEvent, orgSlug, teamMemberEmail, useApiV2, enabled: enabledProp, }: UseScheduleWithCacheArgs) => {
    /**
     * Invalidates the request and resends it regardless of any other configuration including staleTime
     */
    invalidate: () => Promise<import("@tanstack/react-query").QueryObserverResult<import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots, Error>>;
    data: import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots;
    error: Error;
    isError: true;
    isPending: false;
    isLoading: false;
    isLoadingError: false;
    isRefetchError: true;
    isSuccess: false;
    status: "error";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots, Error>>;
    fetchStatus: import("@tanstack/react-query").FetchStatus;
} | {
    /**
     * Invalidates the request and resends it regardless of any other configuration including staleTime
     */
    invalidate: () => Promise<import("@tanstack/react-query").QueryObserverResult<import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots, Error>>;
    data: import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots;
    error: null;
    isError: false;
    isPending: false;
    isLoading: false;
    isLoadingError: false;
    isRefetchError: false;
    isSuccess: true;
    status: "success";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots, Error>>;
    fetchStatus: import("@tanstack/react-query").FetchStatus;
} | {
    /**
     * Invalidates the request and resends it regardless of any other configuration including staleTime
     */
    invalidate: () => Promise<import("@tanstack/react-query").QueryObserverResult<import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots, Error>>;
    data: undefined;
    error: Error;
    isError: true;
    isPending: false;
    isLoading: false;
    isLoadingError: true;
    isRefetchError: false;
    isSuccess: false;
    status: "error";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots, Error>>;
    fetchStatus: import("@tanstack/react-query").FetchStatus;
} | {
    /**
     * Invalidates the request and resends it regardless of any other configuration including staleTime
     */
    invalidate: () => Promise<import("@tanstack/react-query").QueryObserverResult<import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots, Error>>;
    data: undefined;
    error: null;
    isError: false;
    isPending: true;
    isLoadingError: false;
    isRefetchError: false;
    isSuccess: false;
    status: "pending";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isLoading: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots, Error>>;
    fetchStatus: import("@tanstack/react-query").FetchStatus;
} | {
    /**
     * Invalidates the request and resends it regardless of any other configuration including staleTime
     */
    invalidate: () => Promise<void>;
    trpc: {
        path: string;
    };
    data: import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots;
    error: import("@trpc/client").TRPCClientErrorLike<import("@trpc/server/dist/unstable-core-do-not-import").RootConfig<{
        ctx: import('../../../../trpc/server/createContext').InnerContext;
        meta: object;
        errorShape: {
            message: string;
            code: number;
            data: {
                code: string;
                httpStatus: number;
                path?: string;
                [key: string]: unknown;
            };
        };
        transformer: {
            stringify: (object: any) => string;
            parse: <T = unknown>(string: string) => T;
            serialize: (object: any) => import("superjson/dist/types").SuperJSONResult;
            deserialize: <T_1 = unknown>(payload: import("superjson/dist/types").SuperJSONResult) => T_1;
            registerClass: (v: import("superjson/dist/types").Class, options?: string | import("superjson/dist/class-registry").RegisterOptions | undefined) => void;
            registerSymbol: (v: Symbol, identifier?: string | undefined) => void;
            registerCustom: <I, O extends import("superjson/dist/types").JSONValue>(transformer: Omit<import("superjson/dist/custom-transformer-registry").CustomTransfomer<I, O>, "name">, name: string) => void;
            allowErrorProps: (...props: string[]) => void;
        };
    }>>;
    isError: true;
    isPending: false;
    isLoading: false;
    isLoadingError: false;
    isRefetchError: true;
    isSuccess: false;
    status: "error";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: import("@trpc/client").TRPCClientErrorLike<import("@trpc/server/dist/unstable-core-do-not-import").RootConfig<{
        ctx: import('../../../../trpc/server/createContext').InnerContext;
        meta: object;
        errorShape: {
            message: string;
            code: number;
            data: {
                code: string;
                httpStatus: number;
                path?: string;
                [key: string]: unknown;
            };
        };
        transformer: {
            stringify: (object: any) => string;
            parse: <T = unknown>(string: string) => T;
            serialize: (object: any) => import("superjson/dist/types").SuperJSONResult;
            deserialize: <T_1 = unknown>(payload: import("superjson/dist/types").SuperJSONResult) => T_1;
            registerClass: (v: import("superjson/dist/types").Class, options?: string | import("superjson/dist/class-registry").RegisterOptions | undefined) => void;
            registerSymbol: (v: Symbol, identifier?: string | undefined) => void;
            registerCustom: <I, O extends import("superjson/dist/types").JSONValue>(transformer: Omit<import("superjson/dist/custom-transformer-registry").CustomTransfomer<I, O>, "name">, name: string) => void;
            allowErrorProps: (...props: string[]) => void;
        };
    }>> | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: import("@tanstack/query-core/build/modern/queryClient-Z9CwNwtC.cjs")._) => Promise<import("@tanstack/query-core/build/modern/queryClient-Z9CwNwtC.cjs").ae<import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots, import("@trpc/client").TRPCClientErrorLike<import("@trpc/server/dist/unstable-core-do-not-import").RootConfig<{
        ctx: import('../../../../trpc/server/createContext').InnerContext;
        meta: object;
        errorShape: {
            message: string;
            code: number;
            data: {
                code: string;
                httpStatus: number;
                path?: string;
                [key: string]: unknown;
            };
        };
        transformer: {
            stringify: (object: any) => string;
            parse: <T = unknown>(string: string) => T;
            serialize: (object: any) => import("superjson/dist/types").SuperJSONResult;
            deserialize: <T_1 = unknown>(payload: import("superjson/dist/types").SuperJSONResult) => T_1;
            registerClass: (v: import("superjson/dist/types").Class, options?: string | import("superjson/dist/class-registry").RegisterOptions | undefined) => void;
            registerSymbol: (v: Symbol, identifier?: string | undefined) => void;
            registerCustom: <I, O extends import("superjson/dist/types").JSONValue>(transformer: Omit<import("superjson/dist/custom-transformer-registry").CustomTransfomer<I, O>, "name">, name: string) => void;
            allowErrorProps: (...props: string[]) => void;
        };
    }>>>>;
    fetchStatus: import("@tanstack/query-core/build/modern/queryClient-Z9CwNwtC.cjs").a6;
} | {
    /**
     * Invalidates the request and resends it regardless of any other configuration including staleTime
     */
    invalidate: () => Promise<void>;
    trpc: {
        path: string;
    };
    data: import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots;
    error: null;
    isError: false;
    isPending: false;
    isLoading: false;
    isLoadingError: false;
    isRefetchError: false;
    isSuccess: true;
    status: "success";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: import("@trpc/client").TRPCClientErrorLike<import("@trpc/server/dist/unstable-core-do-not-import").RootConfig<{
        ctx: import('../../../../trpc/server/createContext').InnerContext;
        meta: object;
        errorShape: {
            message: string;
            code: number;
            data: {
                code: string;
                httpStatus: number;
                path?: string;
                [key: string]: unknown;
            };
        };
        transformer: {
            stringify: (object: any) => string;
            parse: <T = unknown>(string: string) => T;
            serialize: (object: any) => import("superjson/dist/types").SuperJSONResult;
            deserialize: <T_1 = unknown>(payload: import("superjson/dist/types").SuperJSONResult) => T_1;
            registerClass: (v: import("superjson/dist/types").Class, options?: string | import("superjson/dist/class-registry").RegisterOptions | undefined) => void;
            registerSymbol: (v: Symbol, identifier?: string | undefined) => void;
            registerCustom: <I, O extends import("superjson/dist/types").JSONValue>(transformer: Omit<import("superjson/dist/custom-transformer-registry").CustomTransfomer<I, O>, "name">, name: string) => void;
            allowErrorProps: (...props: string[]) => void;
        };
    }>> | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: import("@tanstack/query-core/build/modern/queryClient-Z9CwNwtC.cjs")._) => Promise<import("@tanstack/query-core/build/modern/queryClient-Z9CwNwtC.cjs").ae<import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots, import("@trpc/client").TRPCClientErrorLike<import("@trpc/server/dist/unstable-core-do-not-import").RootConfig<{
        ctx: import('../../../../trpc/server/createContext').InnerContext;
        meta: object;
        errorShape: {
            message: string;
            code: number;
            data: {
                code: string;
                httpStatus: number;
                path?: string;
                [key: string]: unknown;
            };
        };
        transformer: {
            stringify: (object: any) => string;
            parse: <T = unknown>(string: string) => T;
            serialize: (object: any) => import("superjson/dist/types").SuperJSONResult;
            deserialize: <T_1 = unknown>(payload: import("superjson/dist/types").SuperJSONResult) => T_1;
            registerClass: (v: import("superjson/dist/types").Class, options?: string | import("superjson/dist/class-registry").RegisterOptions | undefined) => void;
            registerSymbol: (v: Symbol, identifier?: string | undefined) => void;
            registerCustom: <I, O extends import("superjson/dist/types").JSONValue>(transformer: Omit<import("superjson/dist/custom-transformer-registry").CustomTransfomer<I, O>, "name">, name: string) => void;
            allowErrorProps: (...props: string[]) => void;
        };
    }>>>>;
    fetchStatus: import("@tanstack/query-core/build/modern/queryClient-Z9CwNwtC.cjs").a6;
} | {
    /**
     * Invalidates the request and resends it regardless of any other configuration including staleTime
     */
    invalidate: () => Promise<void>;
    trpc: {
        path: string;
    };
    data: undefined;
    error: import("@trpc/client").TRPCClientErrorLike<import("@trpc/server/dist/unstable-core-do-not-import").RootConfig<{
        ctx: import('../../../../trpc/server/createContext').InnerContext;
        meta: object;
        errorShape: {
            message: string;
            code: number;
            data: {
                code: string;
                httpStatus: number;
                path?: string;
                [key: string]: unknown;
            };
        };
        transformer: {
            stringify: (object: any) => string;
            parse: <T = unknown>(string: string) => T;
            serialize: (object: any) => import("superjson/dist/types").SuperJSONResult;
            deserialize: <T_1 = unknown>(payload: import("superjson/dist/types").SuperJSONResult) => T_1;
            registerClass: (v: import("superjson/dist/types").Class, options?: string | import("superjson/dist/class-registry").RegisterOptions | undefined) => void;
            registerSymbol: (v: Symbol, identifier?: string | undefined) => void;
            registerCustom: <I, O extends import("superjson/dist/types").JSONValue>(transformer: Omit<import("superjson/dist/custom-transformer-registry").CustomTransfomer<I, O>, "name">, name: string) => void;
            allowErrorProps: (...props: string[]) => void;
        };
    }>>;
    isError: true;
    isPending: false;
    isLoading: false;
    isLoadingError: true;
    isRefetchError: false;
    isSuccess: false;
    status: "error";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: import("@trpc/client").TRPCClientErrorLike<import("@trpc/server/dist/unstable-core-do-not-import").RootConfig<{
        ctx: import('../../../../trpc/server/createContext').InnerContext;
        meta: object;
        errorShape: {
            message: string;
            code: number;
            data: {
                code: string;
                httpStatus: number;
                path?: string;
                [key: string]: unknown;
            };
        };
        transformer: {
            stringify: (object: any) => string;
            parse: <T = unknown>(string: string) => T;
            serialize: (object: any) => import("superjson/dist/types").SuperJSONResult;
            deserialize: <T_1 = unknown>(payload: import("superjson/dist/types").SuperJSONResult) => T_1;
            registerClass: (v: import("superjson/dist/types").Class, options?: string | import("superjson/dist/class-registry").RegisterOptions | undefined) => void;
            registerSymbol: (v: Symbol, identifier?: string | undefined) => void;
            registerCustom: <I, O extends import("superjson/dist/types").JSONValue>(transformer: Omit<import("superjson/dist/custom-transformer-registry").CustomTransfomer<I, O>, "name">, name: string) => void;
            allowErrorProps: (...props: string[]) => void;
        };
    }>> | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: import("@tanstack/query-core/build/modern/queryClient-Z9CwNwtC.cjs")._) => Promise<import("@tanstack/query-core/build/modern/queryClient-Z9CwNwtC.cjs").ae<import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots, import("@trpc/client").TRPCClientErrorLike<import("@trpc/server/dist/unstable-core-do-not-import").RootConfig<{
        ctx: import('../../../../trpc/server/createContext').InnerContext;
        meta: object;
        errorShape: {
            message: string;
            code: number;
            data: {
                code: string;
                httpStatus: number;
                path?: string;
                [key: string]: unknown;
            };
        };
        transformer: {
            stringify: (object: any) => string;
            parse: <T = unknown>(string: string) => T;
            serialize: (object: any) => import("superjson/dist/types").SuperJSONResult;
            deserialize: <T_1 = unknown>(payload: import("superjson/dist/types").SuperJSONResult) => T_1;
            registerClass: (v: import("superjson/dist/types").Class, options?: string | import("superjson/dist/class-registry").RegisterOptions | undefined) => void;
            registerSymbol: (v: Symbol, identifier?: string | undefined) => void;
            registerCustom: <I, O extends import("superjson/dist/types").JSONValue>(transformer: Omit<import("superjson/dist/custom-transformer-registry").CustomTransfomer<I, O>, "name">, name: string) => void;
            allowErrorProps: (...props: string[]) => void;
        };
    }>>>>;
    fetchStatus: import("@tanstack/query-core/build/modern/queryClient-Z9CwNwtC.cjs").a6;
} | {
    /**
     * Invalidates the request and resends it regardless of any other configuration including staleTime
     */
    invalidate: () => Promise<void>;
    trpc: {
        path: string;
    };
    data: undefined;
    error: null;
    isError: false;
    isPending: true;
    isLoadingError: false;
    isRefetchError: false;
    isSuccess: false;
    status: "pending";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: import("@trpc/client").TRPCClientErrorLike<import("@trpc/server/dist/unstable-core-do-not-import").RootConfig<{
        ctx: import('../../../../trpc/server/createContext').InnerContext;
        meta: object;
        errorShape: {
            message: string;
            code: number;
            data: {
                code: string;
                httpStatus: number;
                path?: string;
                [key: string]: unknown;
            };
        };
        transformer: {
            stringify: (object: any) => string;
            parse: <T = unknown>(string: string) => T;
            serialize: (object: any) => import("superjson/dist/types").SuperJSONResult;
            deserialize: <T_1 = unknown>(payload: import("superjson/dist/types").SuperJSONResult) => T_1;
            registerClass: (v: import("superjson/dist/types").Class, options?: string | import("superjson/dist/class-registry").RegisterOptions | undefined) => void;
            registerSymbol: (v: Symbol, identifier?: string | undefined) => void;
            registerCustom: <I, O extends import("superjson/dist/types").JSONValue>(transformer: Omit<import("superjson/dist/custom-transformer-registry").CustomTransfomer<I, O>, "name">, name: string) => void;
            allowErrorProps: (...props: string[]) => void;
        };
    }>> | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isLoading: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: import("@tanstack/query-core/build/modern/queryClient-Z9CwNwtC.cjs")._) => Promise<import("@tanstack/query-core/build/modern/queryClient-Z9CwNwtC.cjs").ae<import('../../../../trpc/server/routers/viewer/slots/util').IGetAvailableSlots, import("@trpc/client").TRPCClientErrorLike<import("@trpc/server/dist/unstable-core-do-not-import").RootConfig<{
        ctx: import('../../../../trpc/server/createContext').InnerContext;
        meta: object;
        errorShape: {
            message: string;
            code: number;
            data: {
                code: string;
                httpStatus: number;
                path?: string;
                [key: string]: unknown;
            };
        };
        transformer: {
            stringify: (object: any) => string;
            parse: <T = unknown>(string: string) => T;
            serialize: (object: any) => import("superjson/dist/types").SuperJSONResult;
            deserialize: <T_1 = unknown>(payload: import("superjson/dist/types").SuperJSONResult) => T_1;
            registerClass: (v: import("superjson/dist/types").Class, options?: string | import("superjson/dist/class-registry").RegisterOptions | undefined) => void;
            registerSymbol: (v: Symbol, identifier?: string | undefined) => void;
            registerCustom: <I, O extends import("superjson/dist/types").JSONValue>(transformer: Omit<import("superjson/dist/custom-transformer-registry").CustomTransfomer<I, O>, "name">, name: string) => void;
            allowErrorProps: (...props: string[]) => void;
        };
    }>>>>;
    fetchStatus: import("@tanstack/query-core/build/modern/queryClient-Z9CwNwtC.cjs").a6;
};
//# sourceMappingURL=useSchedule.d.ts.map