import type { Config, Document } from '../../../lib'; export default function writeIndexFile(config: Config, docs: Document[]): Promise;