export type PathKind = "config" | "data" | "state" | "cache"; export interface PathsResolverOptions { app: string; internal?: boolean; platform?: string; home?: string; env?: Record; } export declare function dataDir(options: PathsResolverOptions): string; import type { SqliteAdapter as Database } from '../db/sqlite-adapter.js'; /** * The default OpenLoops store path, resolved through the @hasna/paths resolver * (XDG / macOS home layout): the resolver data root for `loops` once its store * has been migrated there (`loops.db` present), otherwise the legacy * `~/.hasna/loops/loops.db` — a legacy-read fallback, so economy keeps reading * loops' store whichever side of the XDG migration loops is on. The exact-app * override `HASNA_ECONOMY_LOOPS_DB_PATH` still wins unconditionally. */ export declare function defaultLoopsDbPath(): string; export declare function loopsDbPath(): string; export declare function ingestLoops(db: Database, verbose?: boolean): Promise<{ sessions: number; requests: number; }>; //# sourceMappingURL=loops.d.ts.map