export { MAX_PHASE_GUIDANCE_BYTES } from "./rules.ts"; import type { GuidanceDiagnostic } from "./rules.ts"; interface GuidanceFilesystem { snapshotEntry(path: string): unknown; snapshotEntries(path: string): unknown; snapshotFile(path: string): Promise; } interface GuidanceInspectionOptions { filesystem?: GuidanceFilesystem | undefined; gitRoot: string; phase?: string | undefined; snapshotTree: string | unknown[]; } interface PhaseGuidanceInspectionOptions extends GuidanceInspectionOptions { phase: string; } interface PhaseGuidance { phase: string; path: string; contentRevision: string; content: string; } type GuidanceInspection = { state: "absent"; diagnostics: GuidanceDiagnostic[]; } | { state: "invalid"; diagnostics: GuidanceDiagnostic[]; } | { state: "valid"; diagnostics: GuidanceDiagnostic[]; guidance?: PhaseGuidance; }; export declare function inspectPhaseGuidance({ filesystem, gitRoot, phase, snapshotTree, }: PhaseGuidanceInspectionOptions): Promise; export declare function inspectAllGuidance({ filesystem, gitRoot, snapshotTree, }: Omit): Promise; //# sourceMappingURL=guidance.d.ts.map