import { createCommandRun } from "../foundation/command-message/index.ts"; import { loadConfigSnapshot } from "../foundation/project-config/index.ts"; import { fetchPrimary, indexSnapshot, resolveSnapshot, runGit, worktreeSnapshot } from "../foundation/git/index.ts"; import { observeSnapshot } from "./shared/index.ts"; import type { Problem, SnapshotObservation } from "./shared/business-types.ts"; import type { ProjectVersion } from "../foundation/report/types.ts"; import type { CheckUnavailableObservation, ProjectConfiguration } from "../foundation/report/types.ts"; interface CheckRepositoryOptions { commit?: string; language?: string; remote?: boolean; root?: string; staged?: boolean; userHome?: string; worktree?: boolean; } declare function inspectTree({ gitRoot, outputLanguage, root, tree, userHome, version, }: { gitRoot: string; outputLanguage?: string | undefined; root: string; tree: string; userHome?: string | undefined; version: ProjectVersion; }): Promise; declare const CHECKREPOSITORY_PORTS: Readonly<{ createCommandRun: typeof createCommandRun; runGit: typeof runGit; observeSnapshot: typeof observeSnapshot; loadConfigSnapshot: typeof loadConfigSnapshot; resolveSnapshot: typeof resolveSnapshot; indexSnapshot: typeof indexSnapshot; worktreeSnapshot: typeof worktreeSnapshot; fetchPrimary: typeof fetchPrimary; inspectTree: typeof inspectTree; }>; export declare function checkRepositoryUseCase({ commit, language, remote, root, staged, userHome, worktree, }?: CheckRepositoryOptions, ports?: typeof CHECKREPOSITORY_PORTS): Promise<{ intention: import("../foundation/report/types.ts").CommandIntention; observation: import("../foundation/report/types.ts").ProjectSetupObservation | CheckUnavailableObservation | import("../foundation/report/types.ts").ProjectReadyObservation | import("../foundation/report/types.ts").RepositoryBlockedObservation | import("../foundation/report/types.ts").NavigationReadyObservation | import("../foundation/report/types.ts").IdeaNotFoundObservation | import("../foundation/report/types.ts").IdeaSelectedObservation | import("../foundation/report/types.ts").IdeaCreatedObservation | import("../foundation/report/types.ts").IdeasListedObservation | import("../foundation/report/types.ts").EventResultObservation | { guidance: { phase: string; path: string; contentRevision: string; }; state: "idea-selected"; configuration: ProjectConfiguration; version: ProjectVersion; selectedIdea: import("../foundation/report/types.ts").IdeaReference; root: string; outputLanguage: string; problems: Problem[]; device?: import("../foundation/report/types.ts").DeviceAdvisory; schemas?: import("../foundation/schema-capability/inspection.ts").ProjectSchemaReadiness; } | { guidance: { phase: string; path: string; contentRevision: string; }; state: "idea-created"; configuration: ProjectConfiguration; version: ProjectVersion; createdIdea: import("../foundation/report/types.ts").CreatedIdea; root: string; outputLanguage: string; problems: Problem[]; device?: import("../foundation/report/types.ts").DeviceAdvisory; schemas?: import("../foundation/schema-capability/inspection.ts").ProjectSchemaReadiness; }; actions: import("../foundation/command-message/observation.ts").ProjectedAction[]; response: import("../foundation/report/types.ts").ReportResponse; }>; export declare function checkRepository(options?: CheckRepositoryOptions): Promise<{ intention: import("../foundation/report/types.ts").CommandIntention; observation: import("../foundation/report/types.ts").ProjectSetupObservation | CheckUnavailableObservation | import("../foundation/report/types.ts").ProjectReadyObservation | import("../foundation/report/types.ts").RepositoryBlockedObservation | import("../foundation/report/types.ts").NavigationReadyObservation | import("../foundation/report/types.ts").IdeaNotFoundObservation | import("../foundation/report/types.ts").IdeaSelectedObservation | import("../foundation/report/types.ts").IdeaCreatedObservation | import("../foundation/report/types.ts").IdeasListedObservation | import("../foundation/report/types.ts").EventResultObservation | { guidance: { phase: string; path: string; contentRevision: string; }; state: "idea-selected"; configuration: ProjectConfiguration; version: ProjectVersion; selectedIdea: import("../foundation/report/types.ts").IdeaReference; root: string; outputLanguage: string; problems: Problem[]; device?: import("../foundation/report/types.ts").DeviceAdvisory; schemas?: import("../foundation/schema-capability/inspection.ts").ProjectSchemaReadiness; } | { guidance: { phase: string; path: string; contentRevision: string; }; state: "idea-created"; configuration: ProjectConfiguration; version: ProjectVersion; createdIdea: import("../foundation/report/types.ts").CreatedIdea; root: string; outputLanguage: string; problems: Problem[]; device?: import("../foundation/report/types.ts").DeviceAdvisory; schemas?: import("../foundation/schema-capability/inspection.ts").ProjectSchemaReadiness; }; actions: import("../foundation/command-message/observation.ts").ProjectedAction[]; response: import("../foundation/report/types.ts").ReportResponse; }>; export {}; //# sourceMappingURL=check-repository.d.ts.map