import { Buffer } from "node:buffer"; import { LocalInputSource } from "./localInputSource.js"; interface BytesInputProps { inputBytes: Uint8Array; filename: string; } /** * Local input source backed by a `Uint8Array`. */ export declare class BytesInput extends LocalInputSource { private inputBytes; /** * Binary payload built from the byte array. */ fileObject: Buffer; constructor({ inputBytes, filename }: BytesInputProps); /** * Converts bytes to a buffer and validates MIME type. */ init(): Promise; } export {};