import type { CliProvider } from "../config.js";
import type { LlmTokenUsage } from "./generate-text.js";
export { parseCodexOutputFromJsonl, parseCodexUsageFromJsonl, } from "./cli-provider-output/codex.js";
export { parseOpenCodeOutputFromJsonl } from "./cli-provider-output/opencode.js";
export { parsePiOutputFromJsonl } from "./cli-provider-output/pi.js";
export type JsonCliProvider = Exclude<CliProvider, "codex" | "openclaw" | "opencode" | "copilot" | "agy" | "pi">;
export declare function isJsonCliProvider(provider: CliProvider): provider is JsonCliProvider;
export declare function parseJsonProviderOutput(args: {
    provider: JsonCliProvider;
    stdout: string;
}): {
    text: string;
    usage: LlmTokenUsage | null;
    costUsd: number | null;
};
