import type { WorkspaceOperationRecorder } from "./workspace-operations.js";
import { ExecutionWorkspaceAgentRef, ExecutionWorkspaceInput, ExecutionWorkspaceIssueRef, RealizedExecutionWorkspace } from "./workspace-runtime.helpers.js";
export declare function realizeExecutionWorkspace(input: {
    base: ExecutionWorkspaceInput;
    config: Record<string, unknown>;
    issue: ExecutionWorkspaceIssueRef | null;
    agent: ExecutionWorkspaceAgentRef;
    recorder?: WorkspaceOperationRecorder | null;
}): Promise<RealizedExecutionWorkspace>;
export declare function cleanupExecutionWorkspaceArtifacts(input: {
    workspace: {
        id: string;
        cwd: string | null;
        providerType: string;
        providerRef: string | null;
        branchName: string | null;
        repoUrl: string | null;
        baseRef: string | null;
        projectId: string | null;
        projectWorkspaceId: string | null;
        sourceIssueId: string | null;
        metadata?: Record<string, unknown> | null;
    };
    projectWorkspace?: {
        cwd: string | null;
        cleanupCommand: string | null;
    } | null;
    teardownCommand?: string | null;
    recorder?: WorkspaceOperationRecorder | null;
}): Promise<{
    cleanedPath: string | null;
    cleaned: boolean;
    warnings: string[];
}>;
//# sourceMappingURL=workspace-runtime.lifecycle.d.ts.map