import type { TaskBoard } from './task-board.js'; export interface ScopedCheck { cmd: string; cwd: string; source: string; } export declare function readStrictClose(root: string): { ownerCommands?: Record; } | undefined; /** A repository registered in `.specweave/config.json`, with its path relative to the project root. */ export interface RepositoryEntry { id: string; /** POSIX path relative to the project root, e.g. `repositories/acme/api` or `../web`. */ path: string; } /** * Registered repositories: `workspace.repos`, `umbrella.childRepos` (adopted * checkouts are written to `workspace.repos`). Any location works, including * absolute paths and siblings of the project root. Read leniently and offline; * the project root itself is never an entry. */ export declare function registeredRepositoryEntries(root: string, config?: Record): RepositoryEntry[]; /** * POSIX path relative to `root` ('' for the root itself). A relative value * stays lexical, so a symlinked checkout keeps the name it is registered * under. An absolute value is compared from real locations (`/tmp` is * `/private/tmp` on macOS), keeping its last segment as written. */ export declare function toProjectPath(root: string, value: string): string; export type FileOwner = { owner: string; id?: string; } | { error: string; } | undefined; /** * The repository that owns a task `Files` entry: the longest registered * repository path containing it, else the `repositories///` * convention. `undefined` means the project root owns the file. */ export declare function resolveFileOwner(root: string, file: string, repos: RepositoryEntry[]): FileOwner; /** Registered repositories first, then the umbrella convention repositories//. */ export declare function resolveOwnerChecks(root: string, board: TaskBoard, config: NonNullable>): { checks: ScopedCheck[]; errors: string[]; }; //# sourceMappingURL=strict-close.d.ts.map