12 lines
599 B
TypeScript
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;
|