/** * Centralized deprecation warning utility * * Provides once-per-process deprecation warnings with a clean API. * Replaces per-module static boolean flags with a central registry. * * @module utils/deprecation * @since v3.8.0 */ /** * Emit a deprecation warning for a method, at most once per process. * * @param methodKey - Unique identifier for the deprecated method (e.g. 'products.getCardsList:legacy-withphoto-zero') * @param message - The warning message to display * * @example * ```typescript * warnOnce( * 'products.getCardsList:legacy-withphoto-zero', * '[DEPRECATED] withPhoto: 0 semantics changed. Use WITH_PHOTO_FILTER.NO_PHOTO for "no photo only".' * ); * ``` */ export declare function warnOnce(methodKey: string, message: string): void; /** * Reset all deprecation warning flags. **Test helper only.** * * Call in `beforeEach` to ensure deprecation warnings fire again in each test. * * @example * ```typescript * import { resetDeprecationWarnings } from 'daytona-wildberries-typescript-sdk'; * * beforeEach(() => { * resetDeprecationWarnings(); * }); * ``` */ export declare function resetDeprecationWarnings(): void; //# sourceMappingURL=deprecation.d.ts.map