import { SupportedTextSplitterLanguage } from "langchain/text_splitter";
import { ChunkFunc } from "./chunkPage";
import { PageFormat } from "../contentStore";
export declare const chunkCode: ChunkFunc;
type CodePageFormat = Exclude<PageFormat, "txt" | "md" | "mdx" | "restructuredtext" | "csv" | "json" | "yaml" | "toml" | "xml" | "graphql" | "openapi-json" | "openapi-yaml">;
type LangchainSupportedCodePageFormat = Exclude<CodePageFormat, "csharp" | "kotlin" | "objective-c" | "shell">;
export declare function isSupportedLanguage(str: PageFormat): str is LangchainSupportedCodePageFormat;
export declare function pageFormatToLanguage(format: PageFormat): SupportedTextSplitterLanguage | undefined;
export {};
//# sourceMappingURL=chunkCode.d.ts.map