import type { StreamCallback, StreamEvent } from '../shared/types/provider.js'; export declare function toRecord(value: unknown): Record | undefined; export declare function firstNonEmptyString(values: unknown[]): string | undefined; export declare function extractStructuredText(value: unknown): string | undefined; export declare function parseValidJsonLines(stdout: string): unknown[]; export declare function emitStructuredEvents(onStream: StreamCallback | undefined, events: readonly StreamEvent[]): void; //# sourceMappingURL=structured-cli-output.d.ts.map