import * as react_jsx_runtime from 'react/jsx-runtime'; import { ReactNode } from 'react'; import { SchedulingWorkingHoursEditorProps } from './WorkingHoursEditor.mjs'; import { SchedulingTimeOffListProps } from './TimeOffList.mjs'; import { UseSchedulingAdminResult } from '../../../hooks/useSchedulingAdmin.mjs'; import '../../../types/scheduling.mjs'; interface SchedulingSiteHoursPanelProps { admin: UseSchedulingAdminResult; className?: string; /** * Class for each section's wrapping container. Two sections render below * the optional headings: working hours, then closures. */ sectionClassName?: string; workingHoursHeading?: ReactNode; timeOffHeading?: ReactNode; /** * Pass-through to the underlying WorkingHoursEditor. `resourceId` is * always null in the site panel — the picker scopes to site-wide rows. */ workingHoursProps?: Omit; /** * Pass-through to the underlying TimeOffList. `resourceId` is always null. */ timeOffProps?: Omit; } /** * Convenience wrapper for the salon-wide hours/closures pair. * * Site-wide rows in `scheduling_working_hours` and `scheduling_time_off` use * `resource_id IS NULL` to apply to every stylist — "the whole salon is * closed Sundays" or "we're shut between Christmas and New Year." This * panel just stitches the two underlying editors together with `resourceId: * null` and lets consumers style the heading wrappers. */ declare function SchedulingSiteHoursPanel({ admin, className, sectionClassName, workingHoursHeading, timeOffHeading, workingHoursProps, timeOffProps, }: SchedulingSiteHoursPanelProps): react_jsx_runtime.JSX.Element; export { SchedulingSiteHoursPanel, type SchedulingSiteHoursPanelProps };