export { createLineChunker, type LineChunkerOptions } from "./line-chunker";
export type { ChunkerFunction } from "./types";

import { createLineChunker } from "./line-chunker";

/**
 * Default configuration values for line chunker
 */
export const DEFAULT_CHUNKER_CONFIG = {
	maxLines: 150,
	overlap: 30,
	maxChars: 6000,
} as const;

/**
 * Create a line chunker with default configuration
 * @returns A chunker function with sensible defaults
 */
export function createDefaultChunker() {
	return createLineChunker(DEFAULT_CHUNKER_CONFIG);
}
