import { OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { InputMetadata } from '../../types'; import * as i0 from "@angular/core"; export declare class SearchSelectorComponent implements OnInit, OnChanges { private i18n; private presets; /** * Preset name to apply. Presets define reusable input configurations * that can be registered at app level via provideValtechPresets(). * * @example * */ preset?: string; /** * Input configuration object. Values here override preset values. * @type {InputMetadata} * @property control - The Angular FormControl for the select input. * @property label - The label for the select. * @property options - The available options for the select. * @property placeholder - The placeholder text. * @property modalHeader - Custom header text for the modal (optional, uses label if not provided). * @property cancelText - Custom cancel button text (default: 'Cancelar'). * @property okText - Custom OK button text (default: 'Aceptar'). */ props: Partial; /** * Resolved props after merging preset + explicit props. */ resolvedProps: InputMetadata; customModalOptions: { header: string; breakpoints: number[]; initialBreakpoint: number; }; customPopoverOptions: { cssClass: string; }; cancelText: string; okText: string; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; /** * Merge preset configuration with explicit props. * Explicit props take precedence over preset values. */ private resolveProps; private setupComponent; /** * Busca un key en `_global` primero, luego en `Common`, finalmente cae al * default hardcoded. Útil para textos cross-cutting (cancel/ok/close/etc.) * sin obligar a cada app a duplicarlos en cada namespace. */ private resolveI18n; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }