/** * Configuration for val-searchbar component. */ export interface SearchbarMetadata { /** * Whether the searchbar is disabled. */ disabled?: boolean; /** * Custom placeholder text. * If not provided, uses i18n default ('search'). */ placeholder?: string; /** * Custom cancel button text. * If not provided, uses i18n default ('cancel'). */ cancelText?: string; /** * Debounce time in milliseconds for search input. * Default: 500 */ debounce?: number; /** * When to show the cancel button. * Default: 'focus' */ showCancelButton?: 'always' | 'focus' | 'never'; /** * Mode for styling (iOS or MD). */ mode?: 'ios' | 'md'; }