import type { MaskOptions } from '../../utils/types'; /** * Standard signature for all masker functions (supports sync and async). */ export type MaskerFn = (value: string, options: MaskOptions) => Promise | string; /** * Injectable registry for masker functions. */ export declare class MaskerRegistry { private maskers; /** * Register a masker function for a specific type. */ register(type: string, masker: MaskerFn): this; /** * Retrieve a masker by type. */ get(type: string): MaskerFn | undefined; /** * Check if a masker exists for the given type. */ has(type: string): boolean; /** * Remove a registered masker (useful for testing). */ unregister(type: string): boolean; /** * Get all registered type names. */ types(): string[]; /** * Create a new isolated registry instance. */ static create(): MaskerRegistry; } /** * Default process-wide registry populated by `registerDefaults()` at module * load. */ export declare const defaultRegistry: MaskerRegistry; //# sourceMappingURL=registry.d.ts.map