histoire
Version:
A fast story book powered by Vite
6 lines • 447 B
TypeScript
import type { ConfigAccessOptions } from './types.js';
/** Checks containment through path components, including symlinked ancestors. */
export declare function guardProjectPath(file: string, root: string): Promise<string>;
/** Restricts file access to regular Histoire config files inside the project. */
export declare function guardConfigFile(file: string, options?: ConfigAccessOptions): Promise<string>;
//# sourceMappingURL=security.d.ts.map