import type { JSON_ROOT } from "./ParseContext";
import type { FileCallChainDiffRecord } from "./JsonDiff";
import type { DiffImpactReport } from "./ImpactEngine";
import type { ContextDiffReport, ContextQueryResult } from "./ContextDiff";
import type { QualityAssessmentReport } from "./QualityAssess";
import type { QueryRes } from "./queryFuncChains";
type CoreActionName = "parse" | "parseIncremental" | "diff" | "impact" | "contextDiff" | "query" | "qualityAssess" | "queryFuncChainsBySnapshot";
type CoreActionPayload = {
    action: CoreActionName;
    stream?: boolean;
    async?: boolean;
    priority?: "high" | "normal" | "low";
    data: Record<string, unknown>;
};
type CoreActionResult = JSON_ROOT | FileCallChainDiffRecord[] | DiffImpactReport | ContextDiffReport | ContextQueryResult[] | QualityAssessmentReport | QueryRes | undefined;
export type ExecuteCoreAction = (payload: CoreActionPayload) => Promise<CoreActionResult>;
export type { CoreActionName, CoreActionPayload, CoreActionResult };
