import type { SynapseDb } from '../types.js';
export interface SynapsePathResolution {
    dir: string;
    ledgerDir: string;
    dbPath: string;
    requestedRoot: string;
    storageRoot: string;
    fallbackApplied: boolean;
    fallbackReason?: string;
}
export interface SynapseDbOpenResult {
    db: SynapseDb;
    paths: SynapsePathResolution;
    degraded: boolean;
    reason?: string;
    quarantinePath?: string;
}
interface SynapsePathOptions {
    requestedRoot?: string;
    storageRoot?: string;
    fallbackApplied?: boolean;
    fallbackReason?: string;
}
export declare function resolveSynapsePaths(root?: string | SynapsePathOptions): SynapsePathResolution;
export declare function openSynapseDb(root?: string | SynapsePathOptions): SynapseDbOpenResult;
export {};
