export declare const AI_AGENT_STATUSES: readonly ["active", "disabled"];
export declare const REVIEW_POLICY_NAME_MAX_LENGTH = 120;
export declare const REVIEW_POLICY_PROMPT_MAX_LENGTH = 10000;
export declare const REVIEW_POLICY_TYPES: readonly ["built_in_security_scan", "security_agent"];
export declare const REVIEW_POLICY_SOURCES: readonly ["admin_configured", "superblocks_managed"];
export declare const REVIEW_POLICY_TRIGGERS: readonly ["before_deploy", "after_checkpoint", "manual"];
export declare const REVIEW_POLICY_EXECUTION_CONTEXTS: readonly ["edit_mode_app", "superblocks_sabs_built_assets", "superblocks_sabs_dependency_metadata", "superblocks_sabs_source_snapshot"];
export declare const REVIEW_POLICY_RUNTIMES: readonly ["superblocks_dev_server_agent", "superblocks_sabs"];
export declare const REVIEW_POLICY_MODES: readonly ["advisory", "blocking"];
export declare const REVIEW_POLICY_RUNNER_TYPES: readonly ["built_in_security_scan", "llm_security_agent"];
export declare const REVIEW_FINDING_SOURCE_PHASES: readonly ["built_asset", "dependency", "edit_mode_app", "iac", "image", "source"];
export declare const REVIEW_FINDING_CATEGORIES: readonly ["external_policy", "misconfiguration", "security_agent", "secret", "sensitive_data", "vulnerability"];
export declare const REVIEW_FINDING_SEVERITIES: readonly ["critical", "high", "medium", "low", "info"];
export declare const REVIEW_FINDING_CONFIDENCES: readonly ["high", "medium", "low"];
export declare const REVIEW_FINDING_SUPPRESSION_STATUSES: readonly ["active", "expired", "revoked"];
export declare const REVIEW_RUN_STATUSES: readonly ["queued", "running", "passed", "findings", "blocked", "errored", "timed_out", "canceled", "stale"];
export declare const REVIEW_RUN_DECISIONS: readonly ["allowed", "advisory_allowed", "blocked", "error_blocked", "not_applicable"];
export declare const REVIEW_RUN_TRIGGERED_BYS: readonly ["system", "user"];
export type AiAgentStatus = (typeof AI_AGENT_STATUSES)[number];
export type ReviewPolicyStatus = AiAgentStatus;
export type ReviewPolicyType = (typeof REVIEW_POLICY_TYPES)[number];
export type ReviewPolicySource = (typeof REVIEW_POLICY_SOURCES)[number];
export type ReviewPolicyTrigger = (typeof REVIEW_POLICY_TRIGGERS)[number];
export type ReviewPolicyExecutionContext = (typeof REVIEW_POLICY_EXECUTION_CONTEXTS)[number];
export type ReviewPolicyRuntime = (typeof REVIEW_POLICY_RUNTIMES)[number];
export type ReviewPolicyMode = (typeof REVIEW_POLICY_MODES)[number];
export type ReviewPolicyRunnerType = (typeof REVIEW_POLICY_RUNNER_TYPES)[number];
export type ReviewFindingSourcePhase = (typeof REVIEW_FINDING_SOURCE_PHASES)[number];
export type ReviewFindingCategory = (typeof REVIEW_FINDING_CATEGORIES)[number];
export type ReviewFindingSeverity = (typeof REVIEW_FINDING_SEVERITIES)[number];
export type ReviewFindingConfidence = (typeof REVIEW_FINDING_CONFIDENCES)[number];
export type ReviewFindingSuppressionStatus = (typeof REVIEW_FINDING_SUPPRESSION_STATUSES)[number];
export type ReviewRunStatus = (typeof REVIEW_RUN_STATUSES)[number];
export type ReviewRunDecision = (typeof REVIEW_RUN_DECISIONS)[number];
export type ReviewRunTriggeredBy = (typeof REVIEW_RUN_TRIGGERED_BYS)[number];
export type ReviewPolicyScopeType = 'all_apps' | 'limited';
export interface ReviewPolicyLastRunDto {
    id: string;
    status: ReviewRunStatus;
    created: string;
}
export interface ReviewPolicyDto {
    id: string;
    organizationId: string;
    aiAgentId: string;
    activeVersionId: string;
    versionNumber: number;
    policyType: ReviewPolicyType;
    source: ReviewPolicySource;
    name: string;
    status: AiAgentStatus;
    mode: ReviewPolicyMode;
    scope: {
        type: ReviewPolicyScopeType;
    };
    lastRun: ReviewPolicyLastRunDto | null;
    freshPendingApprovalRunCount: number;
    createdBy: string | null;
    created: string;
}
export interface ReviewPolicyDetailDto extends ReviewPolicyDto {
    prompt: string;
}
export interface ReviewPolicyRunDto {
    id: string;
    applicationId: string;
    applicationName: string | null;
    applicationCommitId: string;
    policyVersionNumber: number;
    findingsCount: number;
    profileId: string;
    status: ReviewRunStatus;
    decision: ReviewRunDecision | null;
    decisionReason: string | null;
    hasFreshPendingApproval: boolean;
    startedAt: string | null;
    completedAt: string | null;
    created: string;
    errorCode: string | null;
    errorMessage: string | null;
}
export interface ReviewFindingDto {
    id: string;
    sourceTool: string;
    sourceRuleId: string | null;
    sourcePolicyId: string | null;
    sourcePhase: ReviewFindingSourcePhase | null;
    category: ReviewFindingCategory;
    findingType: string | null;
    severity: ReviewFindingSeverity;
    confidence: ReviewFindingConfidence | null;
    blocking: boolean;
    blockingReason: string | null;
    title: string;
    humanSummary: string | null;
    technicalSummary: string | null;
    evidence: Record<string, unknown>;
    locations: unknown[];
    remediationHint: Record<string, unknown>;
    clarkRemediable: boolean;
    adminOnly: boolean;
    created: string;
}
export interface ReviewPolicyRunReportDto {
    policy: ReviewPolicyDto;
    run: ReviewPolicyRunDto;
    findings: ReviewFindingDto[];
}
export interface ReviewPolicyRunsDto {
    policy: ReviewPolicyDto;
    runs: ReviewPolicyRunDto[];
}
export declare const REVIEW_POLICY_SUMMARY_WINDOWS: readonly ["24h", "7d", "30d"];
export type ReviewPolicySummaryWindow = (typeof REVIEW_POLICY_SUMMARY_WINDOWS)[number];
export declare const DEFAULT_REVIEW_POLICY_SUMMARY_WINDOW: ReviewPolicySummaryWindow;
export interface ReviewPolicySummaryDto {
    activeAgents: number;
    agentRuns: number;
    securityScans: number;
    findings: number;
    window: ReviewPolicySummaryWindow;
}
export type CreateReviewPolicyBody = {
    policyType: 'built_in_security_scan';
    mode?: ReviewPolicyMode;
} | {
    policyType: 'security_agent';
    mode: ReviewPolicyMode;
    name: string;
    prompt: string;
};
export type UpdateReviewPolicyBody = {
    status: AiAgentStatus;
};
export type UpdateReviewPolicyConfigBody = {
    activeVersionId: string;
    policyType: 'built_in_security_scan';
    mode: ReviewPolicyMode;
} | {
    activeVersionId: string;
    policyType: 'security_agent';
    mode: ReviewPolicyMode;
    name: string;
    prompt: string;
};
//# sourceMappingURL=index.d.ts.map