import { z } from 'zod';
export declare const RiskLevel: z.ZodEnum<{
    MEDIUM: "MEDIUM";
    HIGH: "HIGH";
    LOW: "LOW";
}>;
export type RiskLevel = z.infer<typeof RiskLevel>;
export declare const ActionType: z.ZodEnum<{
    file_write: "file_write";
    file_delete: "file_delete";
    bash_exec: "bash_exec";
    git_push: "git_push";
    skill_generate: "skill_generate";
    config_modify: "config_modify";
    dependency_install: "dependency_install";
    external_api_call: "external_api_call";
}>;
export type ActionType = z.infer<typeof ActionType>;
export declare const OutcomeType: z.ZodEnum<{
    blocked: "blocked";
    pending: "pending";
    allowed: "allowed";
    expired: "expired";
}>;
export type OutcomeType = z.infer<typeof OutcomeType>;
export declare const ConfirmationStatus: z.ZodEnum<{
    PENDING_APPROVAL: "PENDING_APPROVAL";
    APPROVED: "APPROVED";
    REJECTED: "REJECTED";
    EXPIRED: "EXPIRED";
}>;
export type ConfirmationStatus = z.infer<typeof ConfirmationStatus>;
export declare const AgentActionEventSchema: z.ZodObject<{
    correlationId: z.ZodOptional<z.ZodString>;
    timestamp: z.ZodOptional<z.ZodString>;
    agentId: z.ZodString;
    actionType: z.ZodEnum<{
        file_write: "file_write";
        file_delete: "file_delete";
        bash_exec: "bash_exec";
        git_push: "git_push";
        skill_generate: "skill_generate";
        config_modify: "config_modify";
        dependency_install: "dependency_install";
        external_api_call: "external_api_call";
    }>;
    target: z.ZodString;
    params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    riskLevel: z.ZodOptional<z.ZodEnum<{
        MEDIUM: "MEDIUM";
        HIGH: "HIGH";
        LOW: "LOW";
    }>>;
}, z.core.$strip>;
export type AgentActionEvent = z.infer<typeof AgentActionEventSchema>;
export declare const PolicyCheckEventSchema: z.ZodObject<{
    correlationId: z.ZodOptional<z.ZodString>;
    timestamp: z.ZodOptional<z.ZodString>;
    actionEvent: z.ZodObject<{
        correlationId: z.ZodOptional<z.ZodString>;
        timestamp: z.ZodOptional<z.ZodString>;
        agentId: z.ZodString;
        actionType: z.ZodEnum<{
            file_write: "file_write";
            file_delete: "file_delete";
            bash_exec: "bash_exec";
            git_push: "git_push";
            skill_generate: "skill_generate";
            config_modify: "config_modify";
            dependency_install: "dependency_install";
            external_api_call: "external_api_call";
        }>;
        target: z.ZodString;
        params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        riskLevel: z.ZodOptional<z.ZodEnum<{
            MEDIUM: "MEDIUM";
            HIGH: "HIGH";
            LOW: "LOW";
        }>>;
    }, z.core.$strip>;
    policies: z.ZodArray<z.ZodString>;
    result: z.ZodEnum<{
        blocked: "blocked";
        allowed: "allowed";
        needs_confirmation: "needs_confirmation";
    }>;
    duration: z.ZodNumber;
}, z.core.$strip>;
export type PolicyCheckEvent = z.infer<typeof PolicyCheckEventSchema>;
export declare const RiskAssessedEventSchema: z.ZodObject<{
    correlationId: z.ZodOptional<z.ZodString>;
    timestamp: z.ZodOptional<z.ZodString>;
    actionEvent: z.ZodObject<{
        correlationId: z.ZodOptional<z.ZodString>;
        timestamp: z.ZodOptional<z.ZodString>;
        agentId: z.ZodString;
        actionType: z.ZodEnum<{
            file_write: "file_write";
            file_delete: "file_delete";
            bash_exec: "bash_exec";
            git_push: "git_push";
            skill_generate: "skill_generate";
            config_modify: "config_modify";
            dependency_install: "dependency_install";
            external_api_call: "external_api_call";
        }>;
        target: z.ZodString;
        params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        riskLevel: z.ZodOptional<z.ZodEnum<{
            MEDIUM: "MEDIUM";
            HIGH: "HIGH";
            LOW: "LOW";
        }>>;
    }, z.core.$strip>;
    riskLevel: z.ZodEnum<{
        MEDIUM: "MEDIUM";
        HIGH: "HIGH";
        LOW: "LOW";
    }>;
    factors: z.ZodArray<z.ZodString>;
    score: z.ZodNumber;
}, z.core.$strip>;
export type RiskAssessedEvent = z.infer<typeof RiskAssessedEventSchema>;
export declare const ConfirmationEventSchema: z.ZodObject<{
    correlationId: z.ZodOptional<z.ZodString>;
    timestamp: z.ZodOptional<z.ZodString>;
    actionId: z.ZodString;
    channel: z.ZodString;
    status: z.ZodEnum<{
        PENDING_APPROVAL: "PENDING_APPROVAL";
        APPROVED: "APPROVED";
        REJECTED: "REJECTED";
        EXPIRED: "EXPIRED";
    }>;
    ownerResponse: z.ZodOptional<z.ZodString>;
    expiresAt: z.ZodString;
}, z.core.$strip>;
export type ConfirmationEvent = z.infer<typeof ConfirmationEventSchema>;
export declare const AuditLogEventSchema: z.ZodObject<{
    correlationId: z.ZodOptional<z.ZodString>;
    timestamp: z.ZodOptional<z.ZodString>;
    eventType: z.ZodString;
    payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    sourceAgentId: z.ZodString;
}, z.core.$strip>;
export type AuditLogEvent = z.infer<typeof AuditLogEventSchema>;
export declare const ErrorEventSchema: z.ZodObject<{
    correlationId: z.ZodOptional<z.ZodString>;
    timestamp: z.ZodOptional<z.ZodString>;
    originalEventType: z.ZodString;
    listenerIndex: z.ZodNumber;
    error: z.ZodString;
    stack: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type ErrorEvent = z.infer<typeof ErrorEventSchema>;
export declare const EventSchemaMap: {
    readonly agent_action: z.ZodObject<{
        correlationId: z.ZodOptional<z.ZodString>;
        timestamp: z.ZodOptional<z.ZodString>;
        agentId: z.ZodString;
        actionType: z.ZodEnum<{
            file_write: "file_write";
            file_delete: "file_delete";
            bash_exec: "bash_exec";
            git_push: "git_push";
            skill_generate: "skill_generate";
            config_modify: "config_modify";
            dependency_install: "dependency_install";
            external_api_call: "external_api_call";
        }>;
        target: z.ZodString;
        params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        riskLevel: z.ZodOptional<z.ZodEnum<{
            MEDIUM: "MEDIUM";
            HIGH: "HIGH";
            LOW: "LOW";
        }>>;
    }, z.core.$strip>;
    readonly policy_check: z.ZodObject<{
        correlationId: z.ZodOptional<z.ZodString>;
        timestamp: z.ZodOptional<z.ZodString>;
        actionEvent: z.ZodObject<{
            correlationId: z.ZodOptional<z.ZodString>;
            timestamp: z.ZodOptional<z.ZodString>;
            agentId: z.ZodString;
            actionType: z.ZodEnum<{
                file_write: "file_write";
                file_delete: "file_delete";
                bash_exec: "bash_exec";
                git_push: "git_push";
                skill_generate: "skill_generate";
                config_modify: "config_modify";
                dependency_install: "dependency_install";
                external_api_call: "external_api_call";
            }>;
            target: z.ZodString;
            params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            riskLevel: z.ZodOptional<z.ZodEnum<{
                MEDIUM: "MEDIUM";
                HIGH: "HIGH";
                LOW: "LOW";
            }>>;
        }, z.core.$strip>;
        policies: z.ZodArray<z.ZodString>;
        result: z.ZodEnum<{
            blocked: "blocked";
            allowed: "allowed";
            needs_confirmation: "needs_confirmation";
        }>;
        duration: z.ZodNumber;
    }, z.core.$strip>;
    readonly risk_assessed: z.ZodObject<{
        correlationId: z.ZodOptional<z.ZodString>;
        timestamp: z.ZodOptional<z.ZodString>;
        actionEvent: z.ZodObject<{
            correlationId: z.ZodOptional<z.ZodString>;
            timestamp: z.ZodOptional<z.ZodString>;
            agentId: z.ZodString;
            actionType: z.ZodEnum<{
                file_write: "file_write";
                file_delete: "file_delete";
                bash_exec: "bash_exec";
                git_push: "git_push";
                skill_generate: "skill_generate";
                config_modify: "config_modify";
                dependency_install: "dependency_install";
                external_api_call: "external_api_call";
            }>;
            target: z.ZodString;
            params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            riskLevel: z.ZodOptional<z.ZodEnum<{
                MEDIUM: "MEDIUM";
                HIGH: "HIGH";
                LOW: "LOW";
            }>>;
        }, z.core.$strip>;
        riskLevel: z.ZodEnum<{
            MEDIUM: "MEDIUM";
            HIGH: "HIGH";
            LOW: "LOW";
        }>;
        factors: z.ZodArray<z.ZodString>;
        score: z.ZodNumber;
    }, z.core.$strip>;
    readonly confirmation_requested: z.ZodObject<{
        correlationId: z.ZodOptional<z.ZodString>;
        timestamp: z.ZodOptional<z.ZodString>;
        actionId: z.ZodString;
        channel: z.ZodString;
        status: z.ZodEnum<{
            PENDING_APPROVAL: "PENDING_APPROVAL";
            APPROVED: "APPROVED";
            REJECTED: "REJECTED";
            EXPIRED: "EXPIRED";
        }>;
        ownerResponse: z.ZodOptional<z.ZodString>;
        expiresAt: z.ZodString;
    }, z.core.$strip>;
    readonly confirmation_resolved: z.ZodObject<{
        correlationId: z.ZodOptional<z.ZodString>;
        timestamp: z.ZodOptional<z.ZodString>;
        actionId: z.ZodString;
        channel: z.ZodString;
        status: z.ZodEnum<{
            PENDING_APPROVAL: "PENDING_APPROVAL";
            APPROVED: "APPROVED";
            REJECTED: "REJECTED";
            EXPIRED: "EXPIRED";
        }>;
        ownerResponse: z.ZodOptional<z.ZodString>;
        expiresAt: z.ZodString;
    }, z.core.$strip>;
    readonly action_executed: z.ZodObject<{
        correlationId: z.ZodOptional<z.ZodString>;
        timestamp: z.ZodOptional<z.ZodString>;
        eventType: z.ZodString;
        payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
        sourceAgentId: z.ZodString;
    }, z.core.$strip>;
    readonly action_blocked: z.ZodObject<{
        correlationId: z.ZodOptional<z.ZodString>;
        timestamp: z.ZodOptional<z.ZodString>;
        eventType: z.ZodString;
        payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
        sourceAgentId: z.ZodString;
    }, z.core.$strip>;
    readonly suggestion_created: z.ZodObject<{
        correlationId: z.ZodOptional<z.ZodString>;
        timestamp: z.ZodOptional<z.ZodString>;
        eventType: z.ZodString;
        payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
        sourceAgentId: z.ZodString;
    }, z.core.$strip>;
    readonly audit_logged: z.ZodObject<{
        correlationId: z.ZodOptional<z.ZodString>;
        timestamp: z.ZodOptional<z.ZodString>;
        eventType: z.ZodString;
        payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
        sourceAgentId: z.ZodString;
    }, z.core.$strip>;
    readonly error: z.ZodObject<{
        correlationId: z.ZodOptional<z.ZodString>;
        timestamp: z.ZodOptional<z.ZodString>;
        originalEventType: z.ZodString;
        listenerIndex: z.ZodNumber;
        error: z.ZodString;
        stack: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>;
};
export type AutonomyEventType = keyof typeof EventSchemaMap;
export type EventPayload<T extends AutonomyEventType> = z.infer<(typeof EventSchemaMap)[T]>;
export type EventInput<T extends AutonomyEventType> = z.input<(typeof EventSchemaMap)[T]>;
export type EnrichedEvent<T> = T & {
    correlationId: string;
    timestamp: string;
};
//# sourceMappingURL=schemas.d.ts.map