import type { UmbDeprecationArgs } from './types.js'; /** * Helper class for deprecation warnings. * @exports * @class UmbDeprecation */ export declare class UmbDeprecation { #private; constructor(args: UmbDeprecationArgs); /** * Logs a deprecation warning to the console, annotated with the likely caller origin (Umbraco core, * an `/App_Plugins` package, or other custom code). Core-origin warnings are suppressed in production * builds, where a consumer cannot act on them. * @memberof UmbDeprecation * @param {object} [options] - Options for the warning message. * @param {boolean} [options.logAlways] - If true, the warning is always logged regardless of origin (defaults to false). * @returns {void} * @example * const deprecation = new UmbDeprecation({ * deprecated: 'The "foo" function is deprecated.', * removeInVersion: '2.0.0', * solution: 'Use the "bar" function instead.' * }); * deprecation.warn(); */ warn(options?: { logAlways?: boolean; }): void; }