import { S as State, T as TypedArray } from "./packem_shared/types.d-CXh0cdsD.js"; declare const copyArrayLoose: (array: Value, state: State) => Value; /** * Deeply copy the indexed values in the array, as well as any custom properties. */ declare const copyArrayStrict: (array: Value, state: State) => Value; declare const copyArrayBuffer: (arrayBuffer: Value) => Value; declare const copyBlob: (blob: Value) => Value; declare const copyDataView: (dataView: Value) => Value; declare const copyDate: (date: Value) => Value; type ExtendedError = Error & { code?: any; errno?: any; syscall?: any; }; declare const copyError: (object: Value, state: State) => Value; /** * Clone a `File` while preserving its `name` and `lastModified` metadata. * * `Blob.prototype.slice` (used by the Blob handler) drops both, degrading a `File` * to a plain `Blob`. Re-constructing via the `File` constructor matches the * structured-clone behaviour. */ declare const copyFile: (file: Value) => Value; declare const copyMapLoose: >(map: Value, state: State) => Value; /** * Deeply copy the keys and values of the original, as well as any custom properties. * * Unlike the loose variant, strict mode also deep-clones object keys (matching the * behaviour of the structured-clone algorithm) so that mutating a key object after * cloning cannot corrupt the source map. */ declare const copyMapStrict: >(map: Value, state: State) => Value; declare const copyObjectLoose: >(object: Value, state: State) => Value; /** * Deeply copy the properties (keys and symbols) and values of the original, as well * as any hidden or non-enumerable properties. */ declare const copyObjectStrict: >(object: Value, state: State) => Value; declare const copyRegExpLoose: (regExp: Value) => Value; declare const copyRegExpStrict: (regExp: Value, state: State) => Value; declare const copySetLoose: >(set: Value, state: State) => Value; /** * Deeply copy the values of the original, as well as any custom properties. */ declare const copySetStrict: >(set: Value, state: State) => Value; export { copyArrayBuffer, copyArrayLoose, copyArrayStrict, copyBlob, copyDataView, copyDate, copyError, copyFile, copyMapLoose, copyMapStrict, copyObjectLoose, copyObjectStrict, copyRegExpLoose, copyRegExpStrict, copySetLoose, copySetStrict };