/** * @module HttpRouter */ import { type IHttpFileCollection, type IHttpFile } from "../../http-router/contracts/_module.js"; /** * @internal */ export declare class HttpFileCollection implements IHttpFileCollection { private readonly fieldName; private readonly files; /** * @param fieldName - The name of the file field (used in error messages). * @param files - The validated files for this field. */ constructor(fieldName: string, files: ReadonlyArray); get(index: number): IHttpFile | null; getOrFail(index: number): IHttpFile; first(): IHttpFile | null; firstOrFail(): IHttpFile; get count(): number; get isEmpty(): boolean; [Symbol.iterator](): Iterator; }