/** * Logs command - Fetch and display analytics logs from NEWO platform * * Usage: * newo logs # Last 1 hour of logs * newo logs --hours 24 # Last 24 hours * newo logs --from "2026-01-11T00:00:00Z" --to "2026-01-12T00:00:00Z" * newo logs --level warning # Only warnings * newo logs --type call # Only skill calls * newo logs --flow CACreatorFlow # Filter by flow * newo logs --skill CreateActor # Filter by skill * newo logs --session-id # Full trace for one session * newo logs --agent-persona-id # Filter by agent persona * newo logs --follow # Tail mode (poll for new logs) * newo logs --json # Output as JSON */ import type { AxiosInstance } from 'axios'; import type { MultiCustomerConfig, LogEntry, LogsQueryParams, LogsResponse, CliArgs } from '../../types.js'; type GetLogsFn = (client: AxiosInstance, params: LogsQueryParams, signal?: AbortSignal) => Promise; export declare function handleLogsCommand(customerConfig: MultiCustomerConfig, args: CliArgs, verbose: boolean): Promise; export declare const CAPTURE_DEFAULT_PAGE_SIZE = 200; export declare function collectLogsForDisplay(client: AxiosInstance, params: LogsQueryParams, nameFilter?: string | null, getLogsFn?: GetLogsFn, maxItems?: number): Promise; export declare function fetchAndDisplayLogs(client: AxiosInstance, params: LogsQueryParams, asJson: boolean, raw: boolean, nameFilter?: string | null, getLogsFn?: GetLogsFn, maxItems?: number): Promise; export interface TailOptions { /** Stop after this many milliseconds (bound --follow). */ forMs?: number; /** Stop after emitting this many new events. */ maxEvents?: number; /** Poll cadence; defaults to 2000ms. Lowered in tests. */ pollIntervalMs?: number; /** Injected for tests. */ getLogsFn?: GetLogsFn; } export declare function tailLogs(client: AxiosInstance, params: LogsQueryParams, asJson: boolean, nameFilter?: string | null, opts?: TailOptions): Promise; export declare function printLogsHelp(): void; export {}; //# sourceMappingURL=logs.d.ts.map