export interface DocumentChunkOptions {
    relativePath?: string;
    maxTokens?: number;
    overlapTokens?: number;
    countTokens?: (content: string) => number;
}
export interface DocumentChunk {
    chunkId: string;
    filePath: string;
    relativePath: string;
    format: string;
    title: string;
    content: string;
    anchor: string;
    headingPath: string[];
    sourceLine: number;
    startLine: number;
    endLine: number;
    tokenEstimate: number;
    wordCount: number;
}
export interface ChunkDocumentFromMarkdownOptions {
    filePath: string;
    relativePath?: string;
    format?: string;
    maxTokens?: number;
    overlapTokens?: number;
    countTokens?: (content: string) => number;
}
/**
 * Chunk already-converted markdown without touching disk.
 *
 * Useful when the markdown was just produced elsewhere (for example
 * `inspectWorkspaceDocumentSet` with `includeMarkdown`) — it skips the
 * re-read + re-convert that `chunkDocument` performs. For the same markdown
 * and options the output is identical to `chunkDocument`.
 */
export declare function chunkDocumentFromMarkdown(markdown: string, options: ChunkDocumentFromMarkdownOptions): DocumentChunk[];
export declare function chunkDocument(filePath: string, options?: DocumentChunkOptions): Promise<DocumentChunk[]>;
