/** * Returns `value` if it's one of `allowed`. Otherwise logs a warning naming the element, attribute and value, and * returns `fallback`, so a typo in an enumerated attribute never silently changes the component. */ export declare function validateOption(value: string, allowed: readonly T[], fallback: T, host: HTMLElement, attribute: string): T;