import { z } from 'zod';
export declare const ApprovalRequestStatusSchema: z.ZodEnum<{
    open: "open";
    approved: "approved";
    rejected: "rejected";
    executed: "executed";
    failed: "failed";
    canceled: "canceled";
}>;
export type ApprovalRequestStatus = z.infer<typeof ApprovalRequestStatusSchema>;
export declare const ApprovalRequestCreatedBySchema: z.ZodObject<{
    surface: z.ZodEnum<{
        cli: "cli";
        voice: "voice";
        session_agent: "session_agent";
        mcp: "mcp";
        system: "system";
    }>;
    agentId: z.ZodOptional<z.ZodString>;
    sessionId: z.ZodOptional<z.ZodString>;
}, z.core.$strict>;
export type ApprovalRequestCreatedBy = z.infer<typeof ApprovalRequestCreatedBySchema>;
export declare const ApprovalDecisionV1Schema: z.ZodObject<{
    kind: z.ZodEnum<{
        approve: "approve";
        reject: "reject";
    }>;
    decidedAtMs: z.ZodNumber;
}, z.core.$loose>;
export type ApprovalDecisionV1 = z.infer<typeof ApprovalDecisionV1Schema>;
export declare const ApprovalExecutionV1Schema: z.ZodObject<{
    executedAtMs: z.ZodNumber;
    ok: z.ZodBoolean;
    result: z.ZodOptional<z.ZodUnknown>;
    errorCode: z.ZodOptional<z.ZodString>;
    error: z.ZodOptional<z.ZodString>;
}, z.core.$loose>;
export type ApprovalExecutionV1 = z.infer<typeof ApprovalExecutionV1Schema>;
export declare const ApprovalRequestV1Schema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    status: z.ZodEnum<{
        open: "open";
        approved: "approved";
        rejected: "rejected";
        executed: "executed";
        failed: "failed";
        canceled: "canceled";
    }>;
    createdAtMs: z.ZodNumber;
    updatedAtMs: z.ZodNumber;
    createdBy: z.ZodObject<{
        surface: z.ZodEnum<{
            cli: "cli";
            voice: "voice";
            session_agent: "session_agent";
            mcp: "mcp";
            system: "system";
        }>;
        agentId: z.ZodOptional<z.ZodString>;
        sessionId: z.ZodOptional<z.ZodString>;
    }, z.core.$strict>;
    requestedSurface: z.ZodOptional<z.ZodString>;
    actionId: z.ZodEnum<{
        "action.spec.search": "action.spec.search";
        "action.spec.get": "action.spec.get";
        "action.options.resolve": "action.options.resolve";
        "session.open": "session.open";
        "session.fork": "session.fork";
        "session.rollback": "session.rollback";
        "session.handoff": "session.handoff";
        "session.spawn_new": "session.spawn_new";
        "session.spawn_picker": "session.spawn_picker";
        "paths.list_recent": "paths.list_recent";
        "machines.list": "machines.list";
        "servers.list": "servers.list";
        "review.engines.list": "review.engines.list";
        "agents.backends.list": "agents.backends.list";
        "agents.models.list": "agents.models.list";
        "session.message.send": "session.message.send";
        "session.stop": "session.stop";
        "session.title.set": "session.title.set";
        "session.model.set": "session.model.set";
        "session.permission_mode.set": "session.permission_mode.set";
        "session.archive": "session.archive";
        "session.unarchive": "session.unarchive";
        "session.status.get": "session.status.get";
        "session.history.get": "session.history.get";
        "session.wait.idle": "session.wait.idle";
        "review.start": "review.start";
        "subagents.plan.start": "subagents.plan.start";
        "subagents.delegate.start": "subagents.delegate.start";
        "voice_agent.start": "voice_agent.start";
        "execution.run.start": "execution.run.start";
        "execution.run.list": "execution.run.list";
        "execution.run.get": "execution.run.get";
        "execution.run.send": "execution.run.send";
        "execution.run.stop": "execution.run.stop";
        "execution.run.action": "execution.run.action";
        "execution.run.wait": "execution.run.wait";
        "session.target.primary.set": "session.target.primary.set";
        "session.target.tracked.set": "session.target.tracked.set";
        "session.list": "session.list";
        "session.activity.get": "session.activity.get";
        "session.messages.recent.get": "session.messages.recent.get";
        "session.permission.respond": "session.permission.respond";
        "session.user_action.answer": "session.user_action.answer";
        "session.mode.set": "session.mode.set";
        "ui.voice_global.reset": "ui.voice_global.reset";
        "ui.voice_agent.teleport": "ui.voice_agent.teleport";
        "memory.search": "memory.search";
        "memory.get_window": "memory.get_window";
        "memory.ensure_up_to_date": "memory.ensure_up_to_date";
        "prompt_doc.update": "prompt_doc.update";
        "prompt_bundle.update": "prompt_bundle.update";
        "prompt_asset.export": "prompt_asset.export";
        "prompt_registry.install": "prompt_registry.install";
        "approval.request.create": "approval.request.create";
        "approval.request.decide": "approval.request.decide";
    }>;
    actionArgs: z.ZodUnknown;
    summary: z.ZodString;
    preview: z.ZodOptional<z.ZodUnknown>;
    decision: z.ZodOptional<z.ZodObject<{
        kind: z.ZodEnum<{
            approve: "approve";
            reject: "reject";
        }>;
        decidedAtMs: z.ZodNumber;
    }, z.core.$loose>>;
    execution: z.ZodOptional<z.ZodObject<{
        executedAtMs: z.ZodNumber;
        ok: z.ZodBoolean;
        result: z.ZodOptional<z.ZodUnknown>;
        errorCode: z.ZodOptional<z.ZodString>;
        error: z.ZodOptional<z.ZodString>;
    }, z.core.$loose>>;
}, z.core.$loose>;
export type ApprovalRequestV1 = z.infer<typeof ApprovalRequestV1Schema>;
//# sourceMappingURL=approvalRequestV1.d.ts.map