export type ServiceLogName = "web" | "runtime"; export type ServiceLogScope = ServiceLogName | "all"; export type LogSource = "auto" | "local" | "sls"; export interface ServiceLogEntry { ts?: string; level?: string; service?: ServiceLogName; tenantId?: string; event?: string; message?: string; traceId?: string; requestId?: string; sessionId?: string | null; spaceId?: string | null; userId?: string | null; agentId?: string | null; [key: string]: unknown; } export interface LogQueryOptions { source: LogSource; service: ServiceLogScope; since: string; until?: string; session?: string; trace?: string; request?: string; space?: string; user?: string; agent?: string; level?: string; event?: string; grep?: string; limit: number; } export declare function parseServiceLogLine(line: string): ServiceLogEntry; export declare function filterServiceLogs(entries: ServiceLogEntry[], options: Partial): ServiceLogEntry[]; export declare function sortServiceLogsDescending(entries: ServiceLogEntry[]): ServiceLogEntry[]; export declare function renderServiceLogLine(entry: ServiceLogEntry): string;