nanolith
Version:
Multi-threading in no time with seamless TypeScript support.
6 lines (5 loc) • 346 B
TypeScript
import type { KeyData, Key } from '../types/shared_map.js';
export declare const createKey: ({ name, start, end }: KeyData) => Key;
export declare const parseKey: (key: Key) => KeyData;
export declare const createKeyRegex: (name: string, flag?: string) => RegExp;
export declare const matchKey: (decodedKeys: string, name: string) => Key | null;