export interface DbDiagnostics {
    path: string;
    sizes: {
        db: number | null;
        wal: number | null;
        shm: number | null;
    };
    pageSize: number | null;
    pageCount: number | null;
    freelistCount: number | null;
    freeBytes: number | null;
    freePercent: number | null;
    dbstatTop?: {
        name: string;
        bytes: number;
        pages: number;
    }[];
    dbstatError?: string;
    error?: string;
}
export declare function collectDbDiagnostics(): Promise<DbDiagnostics>;
