/** * Custom pipe registry — extension point for companion packages. * * Companion packages (e.g. @maxhealth.tech/prefab-fhir) call * `registerPipe()` at import time to add domain-specific formatters. * Built-in pipes in applyFilter always take precedence over custom pipes. */ /** A pipe function receives the current value and optional arguments. */ export type PipeFn = (value: unknown, ...args: unknown[]) => unknown; /** * Register a custom pipe filter. * Re-registration warns and overwrites (HMR-friendly). * Built-in pipes in applyFilter always shadow custom pipes. */ export declare function registerPipe(name: string, fn: PipeFn): void; /** Remove a custom pipe (useful in tests). Returns true if it existed. */ export declare function unregisterPipe(name: string): boolean; /** List all registered custom pipe names (useful for debugging). */ export declare function listPipes(): string[]; /** @internal — used by applyFilter to resolve custom pipes. */ export declare function getCustomPipe(name: string): PipeFn | undefined; //# sourceMappingURL=pipes.d.ts.map