import type { EndowmentFactoryOptions } from "./commonEndowmentFactory.mjs"; export declare const consoleAttenuatedMethods: Set; /** * A set of all the `console` method names that will be included in the * attenuated console object. Covers values available in both browser and * Node.js. */ export declare const consoleMethods: Set; /** * Create a {@link console} object, with the same properties as the global * {@link console} object, but with some methods replaced. * * @param options - Factory options used in construction of the endowment. * @param options.sourceLabel - Label identifying the source of the console call. * @returns The {@link console} object with the replaced methods. */ declare function createConsole({ sourceLabel }?: EndowmentFactoryOptions): { console: { log: { (...data: any[]): void; (message?: any, ...optionalParams: any[]): void; }; error: { (...data: any[]): void; (message?: any, ...optionalParams: any[]): void; }; debug: { (...data: any[]): void; (message?: any, ...optionalParams: any[]): void; }; info: { (...data: any[]): void; (message?: any, ...optionalParams: any[]): void; }; warn: { (...data: any[]): void; (message?: any, ...optionalParams: any[]): void; }; assert: (value: any, message?: string | undefined, ...optionalParams: any[]) => void; }; }; declare const endowmentModule: { names: readonly ["console"]; factory: typeof createConsole; }; export default endowmentModule; //# sourceMappingURL=console.d.mts.map