/** * Leaper Agent – Path Security * Path traversal prevention and sandbox boundary enforcement. */ export interface PathValidationResult { allowed: boolean; resolved: string; reason?: string; } export declare function hasTraversalComponent(filePath: string): boolean; export declare function validateWithinDir(filePath: string, root: string): PathValidationResult; export declare function sanitizePath(filePath: string, root: string): string | null; export declare function assertWithinDir(filePath: string, root: string): string; //# sourceMappingURL=path-security.d.ts.map