export declare const DEFAULT_PI_BUNDLE_LIMITS: { readonly maxEntries: 5000; readonly maxTotalBytes: number; readonly maxFileBytes: number; }; export interface PiBundleEntry { path: string; content: Buffer; mode: number; } export interface PiBundle { entries: PiBundleEntry[]; totalBytes: number; entryCount: number; skipped: { path: string; reason: string; }[]; skippedCount: number; rootMissing?: boolean; rootInvalid?: boolean; } export interface PiBundleLimits { maxEntries: number; maxTotalBytes: number; maxFileBytes: number; } export interface PiBundleOptions { root?: string; env?: Record; home?: string; limits?: Partial; } export declare class PiBundleLimitError extends Error { readonly code = "pi_bundle_limit_exceeded"; constructor(message: string); } export declare class PiBundleReadError extends Error { readonly code = "pi_bundle_short_read"; constructor(message: string); } export declare function collectPiBundle(options?: PiBundleOptions): Promise;