import type { ReactNode } from "react";
import type { FC } from "react";
import type { CALENDARS } from '../../constants/index.ts';
import type { OnCheckErrorType, UseCheckProps } from "../hooks/connect/useCheck";
export type OAuthConnectProps = {
    className?: string;
    label: string;
    alreadyConnectedLabel: string;
    loadingLabel: string;
    onCheckError?: OnCheckErrorType;
    redir?: string;
    initialData: UseCheckProps["initialData"];
    isMultiCalendar?: boolean;
    tooltip?: ReactNode;
    tooltipSide?: "top" | "bottom" | "left" | "right";
    isClickable?: boolean;
    onSuccess?: () => void;
};
export declare const OAuthConnect: FC<OAuthConnectProps & {
    calendar: (typeof CALENDARS)[number];
}>;
export declare const ConnectedCalendarsTooltip: ({ calendarInstance, }: {
    calendarInstance: (typeof CALENDARS)[number];
}) => JSX.Element;
//# sourceMappingURL=OAuthConnect.d.ts.map