export type ResolvedMode = { mode: "local"; dbPath: string; } | { mode: "remote"; url: string; token?: string; }; export interface ResolveOpts { forceLocal?: boolean; forceRemote?: boolean; projectDir?: string; platformUrl?: string; } /** * Decide whether to read from a local SQLite log DB or call the platform via * tRPC. * * Resolution rules (in order): * - `--local` and `--remote` together → throws. * - `--local` → search the project tree for `.skaile/logs.db`. Throws if not found. * - `--remote` → require a platform URL (flag, env, or settings). * - Auto: prefer local if a `.skaile/logs.db` is found in the workspace tree; * otherwise fall back to remote if a URL is configured. Throws otherwise. */ export declare function resolveMode(opts: ResolveOpts): ResolvedMode; //# sourceMappingURL=resolve-mode.d.ts.map