/// <reference types="node" />
export declare const IllegalStateError: {
    new (msg?: any): {
        origMessage: string;
        name: string;
        message: string;
        stack?: string | undefined;
        cause?: unknown;
    };
    captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void;
    prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
    stackTraceLimit: number;
};
export declare const illegalState: (msg?: any) => never;
//# sourceMappingURL=illegal-state.d.ts.map