/** * A button type supported by the built-in UI components (`dialog`, `emptyDataState`, * `notification`). Each type maps to the `ht-button--` modifier class. */ export type ButtonType = 'primary' | 'secondary'; /** * Checks whether the passed value is one of the supported button types. * * Both the settings validators and the render sites go through this, so a value the validator * accepts is exactly a value the markup can carry. */ export declare function isButtonType(type: unknown): type is ButtonType; /** * Resolves a caller-supplied button type to one of the supported values, falling back to * `secondary` for anything else. * * The UI components build their `ht-button--` class from this value, so resolving it at the * render site keeps an unexpected value from breaking out of the class name (and, once that markup * is built with DOM APIs instead, from throwing `InvalidCharacterError` in `classList.add()`). */ export declare function resolveButtonType(type: unknown): ButtonType;