import type { AnyOrama } from '@orama/orama'; import type { PersistenceFormat, Runtime } from './types.js'; export declare const DEFAULT_DB_NAME: string; export declare function persistToFile(db: T, format?: PersistenceFormat, path?: string, runtime?: Runtime): Promise; export declare function restoreFromFile(format?: PersistenceFormat, path?: string, runtime?: Runtime): Promise; export declare function getDefaultFileName(format: PersistenceFormat, runtime?: Runtime): Promise;