import * as react_jsx_runtime from 'react/jsx-runtime'; import { ReactNode } from 'react'; import { UseGoogleCalendarConnectResult } from '../../../hooks/useGoogleCalendarConnect.js'; import '../../../types/scheduling.js'; interface SchedulingCalendarConnectProps { connect: UseGoogleCalendarConnectResult; className?: string; buttonClassName?: string; /** * Custom renderer. Receives the connect result so the consumer can build * any UI shape they like. When omitted, a minimal "Connect Google" / * "Connected as " panel is rendered. */ children?: (connect: UseGoogleCalendarConnectResult) => ReactNode; /** Label for the connect CTA button. Defaults to 'Connect Google Calendar'. */ connectLabel?: ReactNode; /** * If your project completes OAuth in CE Settings → Integrations rather than * via per-site `start()`, pass the URL here so the button becomes a link * instead of triggering the per-site OAuth route. */ externalSetupUrl?: string; } declare function SchedulingCalendarConnect({ connect, className, buttonClassName, children, connectLabel, externalSetupUrl, }: SchedulingCalendarConnectProps): react_jsx_runtime.JSX.Element; export { SchedulingCalendarConnect, type SchedulingCalendarConnectProps };