///
///
import type { BundleInterface } from "../BundleInterface";
import FileDataItem from "./FileDataItem";
import type { PathLike } from "fs";
import type NodeArweave from "arweave/node";
import type { JWKInterface } from "../interface-jwk";
import type { CreateTransactionInterface, Transaction } from "../nodeUtils.js";
export declare class FileBundle implements BundleInterface {
readonly headerFile: PathLike;
readonly txs: PathLike[];
constructor(headerFile: PathLike, txs: PathLike[]);
static fromDir(dir: string): Promise;
length(): Promise;
get items(): AsyncGenerator;
get(index: number | string): Promise;
getIds(): Promise;
getRaw(): Promise;
toTransaction(attributes: Partial>, arweave: NodeArweave, jwk: JWKInterface): Promise;
signAndSubmit(arweave: NodeArweave, jwk: JWKInterface, tags?: {
name: string;
value: string;
}[]): Promise;
getHeaders(): AsyncGenerator<{
offset: number;
id: string;
}>;
private itemsGenerator;
private getById;
private getByIndex;
}
export default FileBundle;