← Files Cecil-IA Labs FFmpegARCHIVED FILE
dist/skill-runtime/paths.d.ts
628 Bytes · Sep 30, 2026 · 23:17 UTC
export interface SafePathOptions {
cwd?: string;
root?: string;
allowAbsolute?: boolean;
}
/** Resolve a user path without invoking a shell or allowing root traversal. */
export declare function resolveSafePath(value: string, options?: SafePathOptions): string;
export interface WritablePathReport {
path: string;
exists: boolean;
writable: boolean;
parent: string;
}
/** Check an output path without creating, truncating, or replacing anything. */
export declare function inspectWritablePath(value: string, options?: SafePathOptions): Promise<WritablePathReport>;
//# sourceMappingURL=paths.d.ts.mapSHA-256: 9d9a7a34edd305d9bbcff2cd3359faaa5b2fcfb892fc05f0d563c60d2647f2bf