import type { Readable } from "./readable";
export declare class ReadableBytes implements Readable {
    readonly fileName: string;
    private readonly _bytes;
    constructor(fileName: string, bytes: Uint8Array | ArrayBuffer | number[]);
    get contentType(): string;
    get length(): number;
    open(): Promise<void>;
    close(): Promise<void>;
    slice(start: number, end: number): Promise<Uint8Array>;
}
