mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 01:22:49 +00:00
10 lines
333 B
TypeScript
10 lines
333 B
TypeScript
import type { MatchFn, MatchValueCallback } from "../types.ts";
|
|
export interface BuildMatchPatternFnArgs<Result> {
|
|
matchPattern: RegExp;
|
|
parsePattern: RegExp;
|
|
valueCallback?: MatchValueCallback<string, Result>;
|
|
}
|
|
export declare function buildMatchPatternFn<Result>(
|
|
args: BuildMatchPatternFnArgs<Result>,
|
|
): MatchFn<Result>;
|