/**
 * Workflow resolution.
 */
import type { WorkflowConfig } from '../../../core/models/index.js';
import { type WorkflowTrustInfo } from './workflowTrustSource.js';
import { type WorkflowDirEntry, type WorkflowDiscoveryConfig, type WorkflowDiscoveryWithSource, type WorkflowWithSource } from './workflowDiscovery.js';
interface LoadWorkflowsOptions {
    onWarning?: (message: string) => void;
}
export interface WorkflowLookupOptions {
    basePath?: string;
    lookupCwd?: string;
}
interface InternalWorkflowLookupOptions extends WorkflowLookupOptions {
    callableArgs?: Record<string, string | string[]>;
    parentTrustInfo?: WorkflowTrustInfo;
    skipWorkflowCallContractValidation?: boolean;
}
export type { WorkflowDirEntry, WorkflowDiscoveryConfig, WorkflowDiscoveryWithSource, WorkflowSource, WorkflowWithSource, } from './workflowDiscovery.js';
export { getWorkflowDescription, type FirstStepInfo, type StepPreview } from './workflowPreview.js';
export declare function listBuiltinWorkflowNames(cwd: string, options?: {
    includeDisabled?: boolean;
}): string[];
export declare function getBuiltinWorkflow(name: string, projectCwd: string): WorkflowConfig | null;
export declare function loadWorkflow(name: string, projectCwd: string): WorkflowConfig | null;
export declare function isWorkflowPath(identifier: string): boolean;
export declare function validateWorkflowCallContracts(workflow: WorkflowConfig, projectCwd: string, lookupCwd?: string, options?: {
    allowPathBasedCalls?: boolean;
}): void;
export declare function loadWorkflowByIdentifier(identifier: string, projectCwd: string, options?: WorkflowLookupOptions): WorkflowConfig | null;
export declare function loadWorkflowByIdentifierForWorkflowCall(identifier: string, projectCwd: string, options: InternalWorkflowLookupOptions): WorkflowConfig | null;
export declare function loadAllWorkflowsWithSources(cwd: string, options?: LoadWorkflowsOptions): Map<string, WorkflowWithSource<WorkflowConfig>>;
export declare function loadAllWorkflowDiscoveryWithSources(cwd: string, options?: LoadWorkflowsOptions): Map<string, WorkflowDiscoveryWithSource>;
export declare function loadAllStandaloneWorkflowsWithSources(cwd: string, options?: LoadWorkflowsOptions): Map<string, WorkflowDiscoveryWithSource>;
export declare function listWorkflowEntries(cwd: string, options?: LoadWorkflowsOptions): WorkflowDirEntry[];
export declare function listStandaloneWorkflowEntries(cwd: string, options?: LoadWorkflowsOptions): WorkflowDirEntry[];
export declare function loadAllWorkflows(cwd: string, options?: LoadWorkflowsOptions): Map<string, WorkflowConfig>;
export declare function loadAllWorkflowDiscovery(cwd: string, options?: LoadWorkflowsOptions): Map<string, WorkflowDiscoveryConfig>;
export declare function loadAllStandaloneWorkflows(cwd: string, options?: LoadWorkflowsOptions): Map<string, WorkflowDiscoveryConfig>;
export declare function listWorkflows(cwd: string, options?: LoadWorkflowsOptions): string[];
//# sourceMappingURL=workflowResolver.d.ts.map