import { ContentDocument } from "document-schema.js"; //#region src/csv/write.d.ts declare class CsvUnsupportedDocumentKindError extends Error { readonly kind: ContentDocument["kind"]; constructor(kind: ContentDocument["kind"]); } declare class CsvSheetNotSpecifiedError extends Error { readonly availableSheets: readonly string[]; constructor(availableSheets: readonly string[]); } declare class CsvSheetNotFoundError extends Error { readonly sheet: string; readonly availableSheets: readonly string[]; constructor(sheet: string, availableSheets: readonly string[]); } interface BuildCsvTextOptions { readonly delimiter?: string; readonly sheet?: string; } declare function buildCsvText(content: ContentDocument, options?: BuildCsvTextOptions): string; //#endregion export { BuildCsvTextOptions, CsvSheetNotFoundError, CsvSheetNotSpecifiedError, CsvUnsupportedDocumentKindError, buildCsvText };