import { CliOutputMode } from "../shared/outfitter-fhahf9f3.js"; import { Result } from "@outfitter/contracts"; type DocsReadmeSentinelCheckReason = "missing-markers" | "out-of-date" | "up-to-date"; interface DocsReadmeSentinelCheckResult { readonly reason: DocsReadmeSentinelCheckReason; readonly updatedContent: string; } interface CheckDocsSentinelOptions { readonly cwd: string; } interface CheckDocsSentinelResult { readonly ok: boolean; readonly readmePath: string; readonly reason: DocsReadmeSentinelCheckReason; readonly updatedContent: string; } declare class CheckDocsSentinelError extends Error { readonly _tag: "CheckDocsSentinelError"; constructor(message: string); } declare function checkDocsReadmeSentinelContent(readmeContent: string, packageListContent: string, replaceSentinelSection?: (input: string, sentinelId: string, replacement: string) => string): DocsReadmeSentinelCheckResult; declare function runCheckDocsSentinel(options: CheckDocsSentinelOptions): Promise>; declare function printCheckDocsSentinelResult(result: CheckDocsSentinelResult, options?: { mode?: CliOutputMode; }): Promise; declare function runCheckDocsSentinelFromArgv(argv: readonly string[]): Promise; export { runCheckDocsSentinelFromArgv, runCheckDocsSentinel, printCheckDocsSentinelResult, checkDocsReadmeSentinelContent, DocsReadmeSentinelCheckResult, DocsReadmeSentinelCheckReason, CheckDocsSentinelResult, CheckDocsSentinelOptions, CheckDocsSentinelError };