/**
 * Research Domain Operations (legacy alias for memory domain)
 *
 * Query operations: 12 (derived from memory domain)
 * Mutate operations: 5 (derived from memory domain)
 *
 * Note: manifest.* operations moved to pipeline domain (T5241).
 * inject operation moved to session.context.inject (T5241).
 */
/**
 * Common research types
 */
export interface ResearchEntry {
    id: string;
    taskId: string;
    title: string;
    file: string;
    date: string;
    status: 'completed' | 'partial' | 'blocked';
    agentType: string;
    topics: string[];
    keyFindings: string[];
    actionable: boolean;
    needsFollowup: string[];
    linkedTasks: string[];
    confidence?: number;
}
export interface ManifestEntry {
    id: string;
    file: string;
    title: string;
    date: string;
    status: 'completed' | 'partial' | 'blocked';
    agent_type: string;
    topics: string[];
    key_findings: string[];
    actionable: boolean;
    needs_followup: string[];
    linked_tasks: string[];
}
/**
 * Query Operations
 */
export interface ResearchShowParams {
    researchId: string;
}
export type ResearchShowResult = ResearchEntry;
export interface ResearchListParams {
    epicId?: string;
    status?: 'completed' | 'partial' | 'blocked';
}
export type ResearchListResult = ResearchEntry[];
export interface ResearchQueryParams {
    query: string;
    confidence?: number;
}
export interface ResearchQueryResult {
    entries: ResearchEntry[];
    matchCount: number;
    avgConfidence: number;
}
export interface ResearchPendingParams {
    epicId?: string;
}
export type ResearchPendingResult = ResearchEntry[];
export interface ResearchStatsParams {
    epicId?: string;
}
export interface ResearchStatsResult {
    total: number;
    complete: number;
    partial: number;
    blocked: number;
    byAgentType: Record<string, number>;
    byTopic: Record<string, number>;
    avgConfidence: number;
}
export interface ResearchManifestReadParams {
    filter?: string;
    limit?: number;
    offset?: number;
}
export type ResearchManifestReadResult = ManifestEntry[];
/**
 * Mutate Operations
 */
export interface ResearchInjectParams {
    protocolType: 'research' | 'consensus' | 'specification' | 'decomposition' | 'implementation' | 'contribution' | 'release';
    taskId?: string;
    variant?: string;
}
export interface ResearchInjectResult {
    protocol: string;
    content: string;
    tokensUsed: number;
}
export interface ResearchLinkParams {
    researchId: string;
    taskId: string;
    relationship?: 'supports' | 'blocks' | 'references' | 'supersedes';
}
export interface ResearchLinkResult {
    researchId: string;
    taskId: string;
    relationship: string;
    linked: string;
}
export interface ResearchManifestAppendParams {
    entry: ManifestEntry;
    validateFile?: boolean;
}
export interface ResearchManifestAppendResult {
    id: string;
    appended: string;
    validated: boolean;
}
export interface ResearchManifestArchiveParams {
    beforeDate?: string;
    moveFiles?: boolean;
}
export interface ResearchManifestArchiveResult {
    archived: number;
    entryIds: string[];
    filesMovedCount?: number;
}
//# sourceMappingURL=research.d.ts.map