export declare const SOURCE_LIMITS: { entries: number; compressed: number; expanded: number; }; type SourceLimits = typeof SOURCE_LIMITS; export interface PackagedSource { filename: string; sha256: string; size_bytes: number; expanded_bytes: number; file_count: number; cleanup(): Promise; } /** Exclude dependencies and credential-bearing paths at every depth. */ export declare function excludedSourcePath(name: string): boolean; /** Reject traversal and ambiguous archive paths rather than silently rewriting names. */ export declare function validateSourcePath(name: string): void; /** Stream source into a private bounded ZIP snapshot; never run shell archive tools. */ export declare function packageLocalSource(source: string, limits?: SourceLimits): Promise; export {}; //# sourceMappingURL=local-source.d.ts.map