import type { AuditBundle, EffectivePolicySnapshot, LifecycleArtifact, ToolRequest, WorkflowDefinition, WorkflowStateEnvelope } from "@h9-foundry/agentforge-shared-types";
import type { ReasoningProvider, RuntimeAgent, ToolAdapter } from "@h9-foundry/agentforge-sdk";
export interface PolicyEngineLike {
    readonly snapshot: EffectivePolicySnapshot;
    canReadPath(pathValue: string): {
        allowed: boolean;
        effect: "allow" | "deny" | "approval_required";
        requiresApproval: boolean;
        reason?: string;
    };
    canWritePath(pathValue: string): {
        allowed: boolean;
        effect: "allow" | "deny" | "approval_required";
        requiresApproval: boolean;
        reason?: string;
    };
    evaluateToolRequest(request: ToolRequest): {
        allowed: boolean;
        effect: "allow" | "deny" | "approval_required";
        requiresApproval: boolean;
        reason?: string;
    };
    redactSecrets(value: string): string;
    sanitizeLifecycleArtifact(artifact: LifecycleArtifact): LifecycleArtifact;
}
export interface WorkflowRunDependencies {
    readonly workflow: WorkflowDefinition;
    readonly initialState: WorkflowStateEnvelope;
    readonly agents: Map<string, RuntimeAgent>;
    readonly adapters: Map<string, ToolAdapter>;
    readonly policyEngine: PolicyEngineLike;
    readonly provider?: ReasoningProvider;
    readonly artifactJsonPath: string;
    readonly artifactMarkdownPath: string;
}
export declare function runWorkflow(deps: WorkflowRunDependencies): Promise<{
    state: WorkflowStateEnvelope;
    bundle: AuditBundle;
}>;
//# sourceMappingURL=index.d.ts.map