/** * vapor-chamber - the action pattern, read in one place. * * A pattern ending in `*` matches every action that starts with the text * before it, so `'*'` matches every action. Any other pattern is one action's * name. The bus routes by it (`on()`, `offAll()`, a plugin's scope, the * transport map), and authGuard's `protected` list reads it. It holds no bus * state, so it sits in the foundation beside dict.ts. */ /** * @internal The one pattern classifier. A pattern ending in `*` matches every * action that starts with the text before it, so `'*'` (prefix `''`) matches * every action: its prefix is returned. Any other pattern is one action's * name: undefined. `on()`, `offAll()`, `matchesPattern`, `_scoped`, * `mostSpecific` and authGuard read it. tests/pattern-classifier.test.ts. */ export declare function _patternPrefix(pattern: string): string | undefined; export declare function matchesPattern(pattern: string, action: string): boolean; //# sourceMappingURL=pattern.d.ts.map