node-ejs-renderer/node_modules/memfs/lib/node-to-fsa/util.d.ts
2024-06-09 13:55:01 -04:00

12 lines
599 B
TypeScript

import type { NodeFsaContext } from './types';
/**
* Creates a new {@link NodeFsaContext}.
*/
export declare const ctx: (partial?: Partial<NodeFsaContext>) => NodeFsaContext;
export declare const basename: (path: string, separator: string) => string;
export declare const assertName: (name: string, method: string, klass: string) => void;
export declare const assertCanWrite: (mode: 'read' | 'readwrite') => void;
export declare const newNotFoundError: () => DOMException;
export declare const newTypeMismatchError: () => DOMException;
export declare const newNotAllowedError: () => DOMException;