import type { PathSpec } from '@struktoai/mirage-core/types'; export declare function stripPrefix(p: PathSpec): string; export declare function joinRoot(root: string, rel: string): string; export declare function isNoSuchFile(err: unknown): boolean; export declare function isFailure(err: unknown): boolean; export declare function isDirectoryAttrs(attrs: { mode?: number; }): boolean; export declare function isFileAttrs(attrs: { mode?: number; }): boolean; //# sourceMappingURL=utils.d.ts.map