import { OnDestroy } from '@angular/core';
import { SearchBuilderComponentContext } from '../interfaces/component-context.interface';
import * as i0 from "@angular/core";
export declare class BaseSearchComponent implements OnDestroy {
    private readonly _searchBuilderService;
    get id(): string;
    type: string;
    config: any;
    context: SearchBuilderComponentContext;
    focus: boolean;
    /**
     * Get the current value of the component
     */
    get value(): any;
    /**
     * Set the current value of the component
     */
    set value(value: any);
    get valid(): boolean;
    set valid(valid: boolean);
    private readonly _id;
    private _valid;
    /**
     * Make sure we clean up after ourselves
     */
    ngOnDestroy(): void;
    /**
     * Perform any required validation on the value
     */
    validate(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<BaseSearchComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<BaseSearchComponent, "ux-base-search", never, {}, {}, never, never, false, never>;
}
export interface BaseSearchComponentConfig {
    label?: string;
    placeholder?: string;
    validation?: (value: unknown) => boolean;
}
