import type { AgentRunner } from "@automatalabs/shared-types"; import { type CustomBackendConfig, type HarnessConfigReport, type ValidateProbeRunner, type ValidateWorkflowReport } from "@automatalabs/workflows"; export declare const WORKFLOW_DIAGNOSTIC_PROBE_TIMEOUT_MS = 5000; export declare const WORKFLOW_CONFIG_PROBE_TIMEOUT_MS = 15000; export declare const WORKFLOW_CONFIG_DISCOVERY_TIMEOUT_MS = 40000; export interface WorkflowConfigSummary { [key: string]: unknown; action: "config"; ok: boolean; harnessOptions: Array>; omittedHarnesses: number; models: Array>; authoringSummary: { harnesses: Array>; omittedHarnesses: number; }; } /** Reuse the server's live runner for no-prompt discovery. A generic AgentRunner that does * not implement discovery reports that limitation per harness instead of spawning a second, * differently configured runner behind the host's back. */ export declare function workflowProbeRunner(runner: AgentRunner): ValidateProbeRunner; export declare function validationText(report: ValidateWorkflowReport): string; export declare function configSummary(report: HarnessConfigReport, modelFilter?: string): WorkflowConfigSummary; export declare function configText(report: HarnessConfigReport, modelFilter?: string): string; /** Bounded, partial discovery supplements a missing route; it never selects one. */ export declare function missingRoutingDiagnostics(probeRunner: ValidateProbeRunner, cwd: string, backends?: Record): Promise; //# sourceMappingURL=workflow-preflight.d.ts.map