import { type CommandContext, type GlobalOptions } from '../../../app/command-context.js';
import { Command } from 'commander';
export declare const GENERATED_INDEX_WARNING = "<!-- AUTOGENERATED by `oat docs generate-index`. Do not hand-edit; changes are clobbered on every `predev` / `prebuild`. -->";
interface IndexGenerateFileDependencies {
    generateIndex: (docsDir: string) => Promise<import('./generator.js').IndexEntry[]>;
    renderIndex: (entries: import('./generator.js').IndexEntry[]) => string;
    writeFile: (path: string, content: string, encoding: BufferEncoding) => Promise<void>;
    readOatConfig: (repoRoot: string) => Promise<import('../../../config/oat-config.js').OatConfig>;
    writeOatConfig: (repoRoot: string, config: import('../../../config/oat-config.js').OatConfig) => Promise<void>;
    resolveRepoRoot: (cwd: string) => Promise<string>;
}
interface IndexGenerateDependencies {
    buildCommandContext: (options: GlobalOptions) => CommandContext;
    fileDeps: IndexGenerateFileDependencies;
}
export declare function createDocsGenerateIndexCommand(overrides?: Partial<IndexGenerateDependencies>): Command;
export {};
//# sourceMappingURL=index.d.ts.map