23 lines
701 B
TypeScript
23 lines
701 B
TypeScript
/*!
|
|
* Copyright (C) Microsoft Corporation. All rights reserved.
|
|
*/
|
|
import type { Vfs } from './Types/Vfs.types.js';
|
|
/**
|
|
* Sets the global VFS instance to be used throughout the package.
|
|
* Should be called once during initialization (e.g., in addDataSourceAsync).
|
|
*/
|
|
export declare function setVfs(vfs: Vfs): void;
|
|
/**
|
|
* Gets the global VFS instance.
|
|
* Throws an error if VFS has not been initialized.
|
|
*/
|
|
export declare function getVfs(): Vfs;
|
|
/**
|
|
* Checks if VFS has been initialized.
|
|
*/
|
|
export declare function isVfsInitialized(): boolean;
|
|
/**
|
|
* Clears the VFS instance (useful for testing or cleanup).
|
|
*/
|
|
export declare function clearVfs(): void;
|
|
//# sourceMappingURL=VfsManager.d.ts.map
|