import type { Result, SetupAgentsDecisionRecord, SetupAgentsEvidenceKind, SetupAgentsEvidenceRecord, SetupAgentsHandoffRecord, SetupAgentsProfileOwner, SetupAgentsReviewRecord, SetupAgentsReviewStatus, SetupAgentsStateRecordKind, WorkflowError } from '../types/index.js';
export type AddEvidenceInput = {
    summary: string;
    profile?: string;
    evidenceKind?: SetupAgentsEvidenceKind;
    command?: string;
    path?: string;
    exitCode?: number;
    details?: string;
    taskIds?: string[];
};
export type AddDecisionInput = {
    summary: string;
    profile: string;
    rationale?: string;
    outcome?: string;
    alternatives?: string[];
    evidenceIds?: string[];
    taskIds?: string[];
};
export type RequestReviewInput = {
    summary: string;
    requester: string;
    reviewer?: string;
    gates?: string[];
    taskIds?: string[];
    evidenceIds?: string[];
};
export type CompleteReviewInput = {
    id: string;
    result: SetupAgentsReviewStatus;
    reviewer?: string;
    findings?: string;
    recommendation?: string;
    returnTarget?: import('../types/index.js').WorkflowPhase;
};
export type AddHandoffInput = {
    summary: string;
    from: string;
    to: string;
    changedFiles?: string[];
    risks?: string[];
    nextActions?: string[];
    acceptanceCriteria?: string[];
    capabilitySignals?: string[];
    evidenceIds?: string[];
    taskIds?: string[];
};
export declare function addEvidenceRecord(cwd: string, input: AddEvidenceInput): SetupAgentsEvidenceRecord;
export declare function addDecisionRecord(cwd: string, input: AddDecisionInput): SetupAgentsDecisionRecord;
export declare function addHandoffRecord(cwd: string, input: AddHandoffInput): SetupAgentsHandoffRecord;
export declare function requestReview(cwd: string, input: RequestReviewInput): SetupAgentsReviewRecord;
export declare function completeReview(cwd: string, input: CompleteReviewInput): Result<SetupAgentsReviewRecord, WorkflowError>;
export declare function listRecords(cwd: string, kind: 'evidence'): SetupAgentsEvidenceRecord[];
export declare function listRecords(cwd: string, kind: 'decision'): SetupAgentsDecisionRecord[];
export declare function listRecords(cwd: string, kind: 'handoff'): SetupAgentsHandoffRecord[];
export declare function listRecords(cwd: string, kind: 'review'): SetupAgentsReviewRecord[];
export declare function recordPath(cwd: string, kind: SetupAgentsStateRecordKind): string;
export declare function profileOwner(profile: string): SetupAgentsProfileOwner;
export declare function generateRecordId(kind: SetupAgentsStateRecordKind): string;
export declare function isValidRecordId(id: string): boolean;
