export declare const DEFAULT_RUN_LOG_MAX_ROWS = 200;
export declare function resolveRunLogMaxRows(effectiveConfig?: Record<string, unknown>): number;
export declare function appendRunLogRow(args: {
    workspacePath: string;
    effectiveConfig?: Record<string, unknown>;
    invocationId: string;
    command: string;
    commandArgs: Record<string, unknown>;
    response: Record<string, unknown>;
    startedAt: string;
    finishedAt: string;
}): void;
export type RunLogRow = {
    invocationId: string;
    command: string;
    args: Record<string, unknown>;
    response: Record<string, unknown>;
    startedAt: string;
    finishedAt: string;
    ok: boolean;
    code: string;
};
export declare function readRunLogByInvocationId(args: {
    workspacePath: string;
    effectiveConfig?: Record<string, unknown>;
    invocationId: string;
}): RunLogRow | null;
export declare function readLatestRunLogRow(args: {
    workspacePath: string;
    effectiveConfig?: Record<string, unknown>;
}): RunLogRow | null;
export declare function isRunLogTableAvailable(workspacePath: string, effectiveConfig?: Record<string, unknown>): boolean;
