import type { WorkflowConfig } from '../../../core/models/index.js';
import type { WorkflowDirEntry, WorkflowDiscoveryConfig } from './workflowDiscovery.js';
interface WorkflowDiscoveryLoaderDeps {
    loadWorkflowForDiscovery: (entry: WorkflowDirEntry, cwd: string) => WorkflowConfig;
    validateWorkflowCallContracts: (workflow: WorkflowConfig, projectCwd: string, options?: {
        allowPathBasedCalls?: boolean;
        lookupCwd?: string;
    }) => void;
}
export declare function buildWorkflowDiscoveryConfig(workflow: WorkflowConfig): WorkflowDiscoveryConfig;
export declare function loadValidatedWorkflowDiscoveryEntry(entry: WorkflowDirEntry, cwd: string, deps: WorkflowDiscoveryLoaderDeps): WorkflowDiscoveryConfig;
export {};
//# sourceMappingURL=workflowDiscoveryLoader.d.ts.map