import { Entity } from '@oinone/kunlun-meta';
import { BaseSearchWidget } from '../../basic';
import { UserSearchPrefer } from '../../typing';
export declare class SearchWidget extends BaseSearchWidget {
    protected searchString: string;
    protected isExpand: boolean;
    protected get invisibleSearch(): boolean;
    protected get disabledExpand(): boolean;
    protected get foldSize(): number;
    protected get cateFields(): string[];
    protected get topCateJustify(): string | undefined;
    protected get showTopCateAll(): boolean;
    protected get showSecondCateAll(): boolean;
    initialize(props: any): this;
    onExpand(expand: boolean): void;
    onSearch(): void;
    onCateSearch(searchData: Entity): void;
    onReset(): Promise<void>;
    getSearchCondition(): {
        searchString: string;
        searchBody: {
            [x: string]: unknown;
            __draftId?: string | undefined;
            __parentDraftId?: string | undefined;
            __hasChildren?: boolean | undefined;
            __lastUpdateFromLocal?: boolean | undefined;
            __updateTimestamp?: string | undefined;
        };
        searchRequestCondition: {
            currentPage: string;
            expand: string;
            searchBody: string;
        };
    };
    protected searchPreferOptions: UserSearchPrefer[] | undefined;
    protected selectedPrefer: UserSearchPrefer | undefined;
    protected get showSearchPrefer(): boolean;
    protected onLoadSearchPreferOptions(): Promise<void>;
    protected loadSearchPreferOptions(): never[] | Promise<UserSearchPrefer[]>;
    protected onCreateSearchPrefer(value: UserSearchPrefer): Promise<boolean>;
    protected onUpdateSearchPrefer(value: UserSearchPrefer): Promise<boolean>;
    protected onRemoveSearchPrefer(value: UserSearchPrefer): Promise<boolean>;
    protected onSelectSearchPrefer(value: UserSearchPrefer): void;
    protected onUnselectSearchPrefer(): Promise<void>;
    protected $$mounted(): void;
    protected childrenInvisibleProcess(): boolean;
}
