import type { MarkdownReaderDependencies } from "./document.js";
import type { TocEntry } from "./read-markdown.js";
export interface ReadSectionParams {
    file: string;
    section: string;
    includeChildren?: boolean;
}
export interface ReadSectionResult {
    file: string;
    section: TocEntry;
    markdown: string;
}
export declare function createReadSection(dependencies?: MarkdownReaderDependencies): (params: ReadSectionParams) => Promise<ReadSectionResult>;
export declare const readSection: (params: ReadSectionParams) => Promise<ReadSectionResult>;
