export type AgentManualRuntime = "claude" | "codex" | "agents" | "generic"; export declare const AGENT_MANUAL_RUNTIMES: readonly AgentManualRuntime[]; export interface AgentManualArgs { runtime: AgentManualRuntime; install?: boolean; dryRun?: boolean; homedirOverride?: string; skillsDirOverride?: string; versionOverride?: string; } export type AgentManualMarkerStatus = "none" | "one" | "malformed" | "not-applicable"; export interface AgentManualResult { runtime: AgentManualRuntime; content: string; destinationPath: string | null; willWrite: boolean; wouldReplaceExistingBlock: boolean; markerVersion: string; markerStatus: AgentManualMarkerStatus; } export declare class AgentManualMalformedMarkersError extends Error { readonly file: string; readonly beginCount: number; readonly endCount: number; readonly status: "malformed-markers"; constructor(file: string, beginCount: number, endCount: number); } export declare class AgentManualUnsafeRuntimeError extends Error { readonly received: string; readonly status: "unsafe-runtime"; constructor(received: string); } export declare function parseAgentManualRuntime(value: unknown): AgentManualRuntime; export declare const MARKER_VERSION_RE: RegExp; export declare function makeMarkerBegin(version: string): string; export declare function makeMarkerEnd(version: string): string; export declare function wrapInMarker(content: string, version: string): string; interface MarkerBlockResult { result: string; replaced: boolean; forcedRepair?: boolean; } export declare function replaceMarkerBlock(existingFile: string, newBlock: string, destinationPath: string, force?: boolean): MarkerBlockResult; export declare const INSTALLABLE_RUNTIMES: readonly Exclude[]; export declare function detectInstalledRuntimes(homedirOverride?: string): readonly Exclude[]; export declare function resolveRuntimeDestination(runtime: AgentManualRuntime, homedirOverride?: string): string | null; export declare function generateAgentManual(args: AgentManualArgs): Promise; export declare function readPackageVersion(): string; export {}; //# sourceMappingURL=agent-manual.d.ts.map