import { Xception } from '#base'; import type { XceptionOptions } from '#base'; type XceptionMeta = Record; export type XceptionConstructor = new (message: string, options?: XceptionOptions) => Xception; type XceptionClass = XceptionConstructor & { prototype: Xception; }; export interface CreateXceptionClassOptions extends XceptionOptions { base?: XceptionClass; } type BrandedXceptionConstructor = XceptionClass & { /** runtime brand key for this class */ readonly brand: symbol; }; /** * create a branded Xception subclass with cascading defaults * @param name class name used for stacks and instance names * @param options class-level defaults and inheritance settings * @returns a branded Xception subclass */ export declare function createXceptionClass(name: string, options?: CreateXceptionClassOptions): BrandedXceptionConstructor; export {}; //# sourceMappingURL=class.d.ts.map