export type SourceTreeState = 'clean' | 'dirty' | 'unknown'; /** * Capture the git identity of the source state an analysis is about to publish. * Failure is represented as `unknown`, never guessed as clean. */ export declare function captureSourceState(rootPath: string): Promise<{ commit: string | null; treeState: SourceTreeState; }>; /** Conservatively bind a published analysis to matching source-state endpoints. */ export declare function reconcileSourceStates(before: { commit: string | null; treeState: SourceTreeState; }, after: { commit: string | null; treeState: SourceTreeState; }): { commit: string | null; treeState: SourceTreeState; }; //# sourceMappingURL=source-state.d.ts.map