import type { Mutable, Readable } from "@zarrita/storage"; import type { Array } from "../hierarchy.js"; import type { Chunk, DataType, Scalar, TypedArray } from "../metadata.js"; import type { GetOptions, Indices, Projection, SetOptions, Slice } from "./types.js"; export declare const setter: { prepare(data: TypedArray, shape: number[], stride: number[]): { data: TypedArray; shape: number[]; stride: number[]; }; setScalar(dest: Chunk, sel: (number | Indices)[], value: Scalar): void; setFromChunk(dest: Chunk, src: Chunk, projections: Projection[]): void; }; /** @category Utility */ export declare function get(arr: Array, selection?: Sel | null, opts?: GetOptions): Promise : Slice extends Sel[number] ? Chunk : Scalar>; /** @category Utility */ export declare function set(arr: Array, selection: (null | Slice | number)[] | null, value: Scalar | Chunk, opts?: SetOptions): Promise; //# sourceMappingURL=ops.d.ts.map