import { Store } from '../lib/store'; import { App } from '../lib/app'; import { IFile, IFilePathItem } from '@wix/quix-shared'; export declare const addFolder: (store: Store, app: App, parentOrPath: IFile | IFilePathItem[], props?: Partial) => Promise; export declare const deleteFolder: (store: Store, app: App, folder: IFile) => Promise; export declare const isRoot: (file: Pick) => boolean; export declare const fetchRoot: () => Promise; export declare const fetchFile: (id: string) => Promise; export declare const fetchFileByName: (name: string, parent?: IFile) => Promise; export declare const createFileByNamePath: (store: Store, app: App, namePath: string[], fileCreator: (name: string, parent: IFile) => Promise) => Promise; export declare const fetchFileParent: (id: string) => Promise; export declare const fetchRootPath: () => Promise; export declare const goToFile: (app: App, file: Pick, params?: { isNew?: boolean; note?: string; }, options?: any) => void; export declare const goToRoot: (app: App) => void; export declare const goUp: (app: App, file: Pick) => void;