@launchmenu/applet-notes
Version:
An applet to make short notes
10 lines • 709 B
TypeScript
import { ISimpleSearchPatternMatcher } from "@launchmenu/core";
import { IDataRetriever } from "model-react";
/**
* Creates a custom search pattern matcher according to some user search pattern
* @param getPattern The pattern to use, may use capture groups prefixed with `$` for text to be included in the search, and capture groups `#fff` or similar hex patterns for highlighting
* @param getName The name for the matcher
* @returns The search pattern matcher
*/
export declare function createCustomSearchPatternMatcher(getPattern: IDataRetriever<string | undefined>, getName?: IDataRetriever<string>): ISimpleSearchPatternMatcher;
//# sourceMappingURL=createCustomSearchPatternMatcher.d.ts.map