/** * Deprecation warnings — log each unique deprecation exactly once. * * Used internally when an API is renamed or about to be removed. Library * authors building on JORVEL can use the same helper to manage their own * deprecations. * * The default sink uses `console.warn`. The default global pin makes warnings * deduplicate across host + remotes even when the runtime is bundled twice. */ export interface DeprecationOptions { /** Stable key used for once-per-key deduplication. Default: the message itself. */ key?: string; /** Version when the API was deprecated. */ since?: string; /** Version when the API will be removed. */ removeIn?: string; /** Replacement API to suggest. */ replacement?: string; /** Override the sink (default: `console.warn`). */ sink?: (message: string) => void; } export declare function deprecate(message: string, opts?: DeprecationOptions): void; /** * Wrap a function so that calling it emits a one-time deprecation warning. * The wrapper preserves arity and `this` binding. */ export declare function markDeprecated unknown>(fn: T, message: string, opts?: DeprecationOptions): T; /** @internal — clears the dedupe set. Tests only. */ export declare function _resetDeprecations(): void; //# sourceMappingURL=deprecation.d.ts.map