import type { z } from 'zod/v4';
import type { WorkflowCallArgValue } from '../../../core/models/index.js';
import { WorkflowConfigRawSchema } from '../../../core/models/index.js';
import type { FacetResolutionContext } from './resource-resolver.js';
type RawWorkflowConfig = z.output<typeof WorkflowConfigRawSchema>;
export interface WorkflowCallArgResolutionPolicy {
    allowExternalFacetRefs: boolean;
}
interface ExpandCallableWorkflowOptions {
    args?: Record<string, WorkflowCallArgValue>;
    workflowDir: string;
    context?: FacetResolutionContext;
    argPolicy?: WorkflowCallArgResolutionPolicy;
}
export { isWorkflowParamReference } from './workflowCallableParamRef.js';
export declare function isMissingWorkflowCallArgError(error: unknown): boolean;
export declare function expandCallableSubworkflowRaw(raw: RawWorkflowConfig, options: ExpandCallableWorkflowOptions): RawWorkflowConfig;
//# sourceMappingURL=workflowCallableArgResolver.d.ts.map