export declare function fsGetSourceForNode(element: Node, requestDirHandle: (params: {
    mode: FileSystemPermissionMode;
}) => Promise<FileSystemDirectoryHandle | null>): Promise<{
    fiberSource: import("./react-source").FiberSource;
    path: string;
    text: string;
    fileHandle: FileSystemFileHandle;
} | null>;
export declare type OpenFile = {
    path: string;
    text: string;
    fileHandle: FileSystemFileHandle;
};
export declare function fsGetFileContents(dirHandle: FileSystemDirectoryHandle, rawPath: string): Promise<OpenFile | undefined>;
export declare function fsGetFile(dirHandle: FileSystemDirectoryHandle, path: string): Promise<FileSystemFileHandle | null>;
export declare function fsWriteToFile(fileHandle: FileSystemFileHandle, data: string): Promise<void>;
export declare function findClosestFile(dirHandle: FileSystemDirectoryHandle, closestTo: string, fileNameCandidates: string[]): Promise<OpenFile | null>;
export declare function fileToText(file: File): Promise<string>;
export declare function useDirHandle(): {
    getDirHandle: (params: {
        mode: FileSystemPermissionMode;
    }) => Promise<FileSystemDirectoryHandle>;
    FsAccessWarningAlert: () => JSX.Element;
};
export declare function normalizePath(path: string): string;
//# sourceMappingURL=fs.d.ts.map