/** * Build a warner that fires once per class. Dedups on the class via a private * `WeakSet`, then emits a warning (`DeprecationWarning` by default) with the * given code. * Reused by the framework's "we had to fall back to instantiation" warnings. */ export declare function makeOncePerClassWarner(code: string, message: (className: string, err?: unknown) => string, type?: string): (Class: { name: string; }, err?: unknown) => void;