import { Constructor } from "type-fest"; import { Decorator20223 } from "./types"; type Stage3Decorator = Decorator20223; type LegacyDecorator = >(target: any, property: string | symbol | number, descriptor?: PropertyDescriptor) => void; export interface WithoutOther { (..._: Parameters>): ReturnType; (..._: Parameters): ReturnType>; } export interface WithOther extends WithoutOther { (..._: OtherParams): OtherReturn; } export declare function decorator_compatibility>({ stage3, legacy }: { stage3?: D3; legacy?: DL; }): { (..._: Parameters
): any; (..._: Parameters): any; }; export declare function optional_config_decorator any)>(defaults: T, f: (...params: T) => Dec): { (...params: T): Dec; (...params: Parameters): ReturnType; }; export declare function createDefaultSetter(key: any): (newValue: any) => any; /** @deprecated Legacy Decorators */ export declare function wrappedDecorate(target: any, key: any, descriptor: any, wrapper: (f: T) => R): { configurable: any; enumerable: any; get(): any; set: any; }; export declare const WrappingDec: (f: (inner: T) => R) => { (target: any, key: string | number | symbol, descriptor: PropertyDescriptor): any; (value: any, context: any): any; }; export {};