/** * Minimal, dependency-free readers for the two S3/R2 XML responses we consume: * ListObjectsV2 results and `` bodies. Replaces the XML codec that * @aws-sdk/client-s3 used to run for us. * * No regex (M2): a tag's text can never contain a raw `<` (XML escapes it to * `<`), so `indexOf`-based tag scanning is unambiguous. */ export interface ListedObject { key: string; size: number; lastModified: Date; } export interface ParsedList { objects: ListedObject[]; isTruncated: boolean; nextContinuationToken?: string; } /** Parse an S3 ListObjectsV2 XML response into the fields the R2 provider needs. */ export declare function parseListObjectsV2(xml: string): ParsedList; /** Extract ``/`` from an S3 `` response for diagnostics. */ export declare function s3ErrorFields(xml: string): { code?: string; message?: string; }; //# sourceMappingURL=_xml.d.ts.map