import { type WorkflowRun, type World } from '@workflow/world'; import type { InspectCLIOptions } from '../config/types.js'; import { getDisplaySettings } from './terminal-utils.js'; export declare const formatTableValue: (prop: string, value: unknown, opts?: InspectCLIOptions, displaySettings?: ReturnType, item?: Record) => unknown; /** * Checks if a run has expired data storage (run-level expiredAt field). * Only returns true when `expiredAt` is in the past. */ export declare const hasExpiredData: (run: WorkflowRun) => boolean; export declare const listRuns: (world: World, opts?: InspectCLIOptions) => Promise; export declare const getRecentRun: (world: World, opts?: InspectCLIOptions) => Promise; export declare const showRun: (world: World, runId: string, opts?: InspectCLIOptions) => Promise; export declare const listSteps: (world: World, opts?: InspectCLIOptions) => Promise; export declare const showStep: (world: World, stepId: string, opts?: InspectCLIOptions) => Promise; export declare const showStream: (world: World, streamId: string, opts?: InspectCLIOptions) => Promise; /** * Show one event of a run, with its payload resolved. * * The command used to reject an event id ("Event-ID is not supported"), * though the events table hint suggested `inspect event `. Every World * implements `events.get(runId, eventId)`. */ export declare const showEvent: (world: World, eventId: string, opts?: InspectCLIOptions) => Promise; /** * Listing streams only lists available stream IDs based on run/step passed, * and doesn't read any data from the streams. */ export declare const listStreamsByRunId: (world: World, opts?: InspectCLIOptions) => Promise; export declare const listEvents: (world: World, opts?: InspectCLIOptions) => Promise; export declare const listHooks: (world: World, opts?: InspectCLIOptions) => Promise; export declare const showHook: (world: World, hookId: string, opts?: InspectCLIOptions) => Promise; export declare const listSleeps: (world: World, opts?: InspectCLIOptions) => Promise; /** * List the distinct attribute keys recorded on this project's runs, with how * many runs carry each and when it was first and last seen. * * Analytics-only: the storage APIs have no cross-run attribute index, so * there is nothing to fall back to. Pair it with * `inspect runs --attribute key=value` to go from discovering a key to * filtering by it. */ export declare const listAttributes: (world: World, opts?: InspectCLIOptions) => Promise; //# sourceMappingURL=output.d.ts.map