import { type opening_hours_warning_type } from 'opening_hours'; export type OpeningHoursFeedbackItem = { /** Fragment of the value up to the position that triggered the issue. */ reference: string | null; /** Human-readable explanation without wrapping parentheses. */ detail: string; }; export type ConditionalValidationResult = { severity: 'none' | 'warning' | 'error'; messages: OpeningHoursFeedbackItem[]; }; export type ValidateConditionalOpeningHoursOptions = { requestedLocale?: string; countryCode?: string; state?: string; }; /** * opening_hours.js warning types we hide in the UI (not relevant for *:conditional on signs). */ export declare const SKIPPABLE_OPENING_HOURS_WARNING_TYPES: readonly ['public_holiday']; export declare const shouldSkipOpeningHoursWarningType: (type: opening_hours_warning_type) => boolean; export declare const normalizeOpeningHoursLocale: (requestedLocale?: string) => string; export declare const validateConditionalOpeningHours: (input: string, opts?: ValidateConditionalOpeningHoursOptions) => ConditionalValidationResult; //# sourceMappingURL=validateConditionalOpeningHours.d.ts.map