import { TKeysOf } from "../typescript/t-keys-of.js"; import { TTypedArrayCtor } from "../array/typed-array/t-typed-array-ctor.js"; import { IDebugProtectedViewFactory } from "./i-debug-protected-view-factory.js"; /** * @public * Provides a view of an object that can be invalidated, causing attempts to access it to error in `_BUILD.DEBUG`. * * @remarks * Allows the specification of `safeKeys`, accessing of these is not an error regardless of invalidation state. */ export declare class DebugProtectedView implements IDebugProtectedViewFactory { private readonly debugInfo; private readonly safeKeys; static createTypedArrayView: (instanceName: string) => DebugProtectedView>; constructor(debugInfo: string, safeKeys?: TKeysOf); debugOnAllocate(): void; invalidate(): void; createProtectedView(view: T): T; static unwrapProtectedView(view: T): T; private validViews; private static isViewValidKey; private static originalViewKey; private static debugMessageKey; } //# sourceMappingURL=debug-protected-view.d.ts.map