import { IDataHook } from "model-react"; import { IPatternMatch } from "../_types/IPatternMatch"; import { ISearchable } from "../_types/ISearchable"; export declare const createSimpleSearch: ({ id, m: matches, pattern, children, }: { /** The UUID for the searchable */ id?: string | undefined; /** Whether the search matches */ m?: ((text: string, hook?: import("model-react").IDataLoadRequest | import("model-react").IDataListener | undefined) => boolean | Promise) | undefined; /** The children */ children?: ISearchable[] | ((text: string, hook?: import("model-react").IDataLoadRequest | import("model-react").IDataListener | undefined) => ISearchable[] | Promise[]>) | undefined; /** A function to match patterns */ pattern?: ((text: string, hook: IDataHook) => IPatternMatch | undefined) | undefined; }) => ISearchable; //# sourceMappingURL=createSimpleSearch.helper.d.ts.map