export declare const SOURCE_REPOSITORY = "https://github.com/shazhou-ww/silvermoon.git"; type EventFormat = "legacy" | "final"; interface ProjectConfig { version: 1 | 2; primaryRepository: string; primaryBranch: string; } export interface HistoryBaseline { commit: string; source: string; ref: string | null; } interface InspectHistoryOptions { root: string; tree: string; config: ProjectConfig; commit?: string; primary?: string; overrides?: ReadonlyMap; } export declare function localPrimary(root: string, config: ProjectConfig): HistoryBaseline; export declare function detectEventFormat({ root, tree, overrides, }: Pick): Promise; export declare function inspectEventHistory(options: InspectHistoryOptions): Promise<{ results: ({ id: string; mode: string; candidate: { ok: true; state: import("../event-codec/grammar.ts").IdeaEventState; }; } | { ok: unknown; mode: unknown; id: string; candidate?: never; })[]; parent?: string | null; valid: boolean; baseline: HistoryBaseline; target: string; }>; export declare function inspectProjectedEventHistory({ root, tree, primary, }: { root: string; tree: string; primary: string; }): Promise<{ supported: boolean; reason: string; id?: never; reduction?: never; valid?: never; detail?: never; target?: never; baseline?: never; results?: never; } | { supported: boolean; reason: string; id: string; reduction: { ok: false; code: string; sequence: number; } | undefined; valid?: never; detail?: never; target?: never; baseline?: never; results?: never; } | { supported: boolean; valid: boolean; detail: string; target: string; baseline: { commit: string; source: string; ref: null; }; results: Record[]; reason?: never; id?: never; reduction?: never; }>; export {}; //# sourceMappingURL=history.d.ts.map