/** * v0.8.3 §5.2 — `solosquad logs` CLI. * * solosquad logs [--level X] [--tail N] [--follow] [--since "1 hour ago"] * [--type runtime|costs|spawn|stop-hook|dev-confirm|migration] * [--org ] * * `--type` can be repeated for a multi-stream tail. Each line is parsed * (best-effort) as JSON; lines that fail to parse are streamed verbatim. * Level + since filters apply only to JSON lines that expose a `level` * or `ts` field (the v0.8.3 logger writes both). */ export type LogType = "runtime" | "costs" | "spawn" | "stop-hook" | "dev-confirm" | "migration"; export declare const LOG_TYPES: LogType[]; export interface LogsOpts { level?: string; tail?: string; follow?: boolean; since?: string; /** Repeatable. */ type?: LogType[]; org?: string; } export declare function logsCommand(opts: LogsOpts): Promise; /** * Tiny chrono-like parser for "1 hour ago", "30 minutes ago", "2 days ago". * Falls back to Date.parse() for ISO strings. */ export declare function parseSinceHuman(raw: string): number | null;