import type { IssueSource, SourceOrigin } from './issueSource.js'; import { type CanonicalIssue } from './markdown.js'; import type { ResolvedSource } from '../sources.js'; /** `delete` always fails closed: removing a section is a file edit, not a tracker operation. */ export declare function documentDeleteError(filePath: string, id: string): Error; export declare class DocumentSource implements IssueSource { readonly format: "document"; readonly readonlySource: boolean; readonly isDefault: boolean; readonly location: string; readonly name: string; private byId; constructor(resolved: ResolvedSource); ids(): string[]; load(id: string): CanonicalIssue | null; headerDiagnostics(): Array<{ issueId: string; message: string; }>; origin(id: string): SourceOrigin; write(c: CanonicalIssue, opts?: { dryRun?: boolean; }): void; delete(id: string): void; }