/** @packageDocumentation
 * @module iModels
 */
import { Id64String } from "@itwin/core-bentley";
import { BlobOptions, BlobRange, DbBlobRequest, DbBlobResponse, DbRequestExecutor } from "./ConcurrentQuery";
/** @beta */
export declare class Uint8Chunks implements Iterable<Uint8Array> {
    private _chunks;
    append(chunk: Uint8Array): void;
    at(idx: number): Uint8Array;
    get length(): number;
    [Symbol.iterator](): Iterator<Uint8Array, any, undefined>;
    combine(): Uint8Array;
}
/** @beta */
export declare class BlobReader {
    private _executor;
    readonly className: string;
    readonly accessString: string;
    readonly instanceId: Id64String;
    private _chunks;
    private _lengthToRead;
    private _options;
    constructor(_executor: DbRequestExecutor<DbBlobRequest, DbBlobResponse>, className: string, accessString: string, instanceId: Id64String, options?: BlobOptions);
    reset(options?: BlobOptions): void;
    get range(): BlobRange;
    step(): Promise<boolean>;
    readToEnd(): Promise<Uint8Array>;
    get current(): Uint8Array;
    get chunks(): Uint8Chunks;
}
//# sourceMappingURL=BlobReader.d.ts.map