@utilix-tech/sdk 0.91.0 → 0.93.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,6 +37,8 @@
37
37
  * - sql-placeholder-counter (countSqlPlaceholders)
38
38
  * - regex-character-class-builder (buildCharacterClass)
39
39
  * - mermaid-syntax-validator (validateMermaidSyntax)
40
+ * - lockfile-duplicate-version-reporter (findDuplicateLockfileVersions, detectLockfileFormat)
41
+ * - git-diff-stat-summarizer (summarizeGitDiffStat)
40
42
  */
41
43
  type RegexFlag = 'g' | 'i' | 'm' | 's' | 'u';
42
44
  declare const ALL_FLAGS: RegexFlag[];
@@ -835,6 +837,62 @@ interface CharClassResult {
835
837
  declare function buildCharacterClass(options: CharClassOptions): CharClassResult | {
836
838
  error: string;
837
839
  };
840
+ type LockfileFormat = 'npm' | 'yarn' | 'pnpm';
841
+ interface LockfileVersionInstance {
842
+ version: string;
843
+ count: number;
844
+ }
845
+ interface LockfilePackageEntry {
846
+ name: string;
847
+ versions: LockfileVersionInstance[];
848
+ isDuplicate: boolean;
849
+ }
850
+ interface LockfileDuplicateReport {
851
+ format: LockfileFormat;
852
+ totalPackages: number;
853
+ duplicatePackages: LockfilePackageEntry[];
854
+ packages: LockfilePackageEntry[];
855
+ }
856
+ /**
857
+ * Detect whether lockfile text is npm's package-lock.json, a classic
858
+ * yarn.lock, or a pnpm-lock.yaml, from its content alone.
859
+ */
860
+ declare function detectLockfileFormat(input: string): LockfileFormat | null;
861
+ /**
862
+ * Parse an npm (package-lock.json), yarn (yarn.lock), or pnpm (pnpm-lock.yaml)
863
+ * lockfile and report every package installed at more than one resolved
864
+ * version, with a count of how many install locations resolve to each
865
+ * version. Format is auto-detected from content unless given explicitly.
866
+ */
867
+ declare function findDuplicateLockfileVersions(input: string, format?: LockfileFormat): LockfileDuplicateReport | {
868
+ error: string;
869
+ };
870
+ interface GitDiffStatFileEntry {
871
+ file: string;
872
+ oldFile?: string;
873
+ changes: number | null;
874
+ insertions: number | null;
875
+ deletions: number | null;
876
+ binary: boolean;
877
+ approximate: boolean;
878
+ }
879
+ interface GitDiffStatSummary {
880
+ files: GitDiffStatFileEntry[];
881
+ filesChanged: number;
882
+ totalInsertions: number;
883
+ totalDeletions: number;
884
+ }
885
+ /**
886
+ * Parse the per-file lines and trailing summary line of `git diff --stat`
887
+ * or `git log --stat` output into structured insertion/deletion counts.
888
+ * The number before each file's bar is always exact; the bar's +/- split
889
+ * is scaled down by git once a diff is wide enough, in which case the
890
+ * split below is a proportional estimate (flagged via `approximate`) rather
891
+ * than an exact count.
892
+ */
893
+ declare function summarizeGitDiffStat(input: string): GitDiffStatSummary | {
894
+ error: string;
895
+ };
838
896
 
839
897
  declare const code_ALL_FLAGS: typeof ALL_FLAGS;
840
898
  type code_ApiEndpoint = ApiEndpoint;
@@ -881,6 +939,8 @@ type code_FenceTagIssueType = FenceTagIssueType;
881
939
  type code_FenceValidationResult = FenceValidationResult;
882
940
  type code_GitCommandConfig = GitCommandConfig;
883
941
  type code_GitCommandResult = GitCommandResult;
942
+ type code_GitDiffStatFileEntry = GitDiffStatFileEntry;
943
+ type code_GitDiffStatSummary = GitDiffStatSummary;
884
944
  type code_GitOperation = GitOperation;
885
945
  type code_GithubUrlInfo = GithubUrlInfo;
886
946
  type code_GithubUrlType = GithubUrlType;
@@ -894,6 +954,10 @@ type code_JsMinifyResult = JsMinifyResult;
894
954
  declare const code_KNOWN_LANGUAGE_TAGS: typeof KNOWN_LANGUAGE_TAGS;
895
955
  type code_LinkReferenceDefinition = LinkReferenceDefinition;
896
956
  type code_LinkReferenceUsage = LinkReferenceUsage;
957
+ type code_LockfileDuplicateReport = LockfileDuplicateReport;
958
+ type code_LockfileFormat = LockfileFormat;
959
+ type code_LockfilePackageEntry = LockfilePackageEntry;
960
+ type code_LockfileVersionInstance = LockfileVersionInstance;
897
961
  declare const code_MIME_TABLE: typeof MIME_TABLE;
898
962
  type code_MarkdownFootnoteDefinition = MarkdownFootnoteDefinition;
899
963
  type code_MarkdownFootnoteReference = MarkdownFootnoteReference;
@@ -945,6 +1009,7 @@ declare const code_countProperties: typeof countProperties;
945
1009
  declare const code_countRules: typeof countRules;
946
1010
  declare const code_countSqlPlaceholders: typeof countSqlPlaceholders;
947
1011
  declare const code_detectDialect: typeof detectDialect;
1012
+ declare const code_detectLockfileFormat: typeof detectLockfileFormat;
948
1013
  declare const code_detectOperationType: typeof detectOperationType;
949
1014
  declare const code_detectRedos: typeof detectRedos;
950
1015
  declare const code_envToExport: typeof envToExport;
@@ -952,6 +1017,7 @@ declare const code_envToJson: typeof envToJson;
952
1017
  declare const code_extractMarkdownFootnotes: typeof extractMarkdownFootnotes;
953
1018
  declare const code_extractMarkdownLinkReferences: typeof extractMarkdownLinkReferences;
954
1019
  declare const code_extractSvgSpriteSymbols: typeof extractSvgSpriteSymbols;
1020
+ declare const code_findDuplicateLockfileVersions: typeof findDuplicateLockfileVersions;
955
1021
  declare const code_formatCss: typeof formatCss;
956
1022
  declare const code_formatGql: typeof formatGql;
957
1023
  declare const code_formatHtml: typeof formatHtml;
@@ -985,6 +1051,7 @@ declare const code_removeRedundantAttributes: typeof removeRedundantAttributes;
985
1051
  declare const code_searchCheatsheet: typeof searchCheatsheet;
986
1052
  declare const code_searchEndpoints: typeof searchEndpoints;
987
1053
  declare const code_splitStatements: typeof splitStatements;
1054
+ declare const code_summarizeGitDiffStat: typeof summarizeGitDiffStat;
988
1055
  declare const code_testGitignorePatterns: typeof testGitignorePatterns;
989
1056
  declare const code_testPattern: typeof testPattern;
990
1057
  declare const code_testRegex: typeof testRegex;
@@ -996,7 +1063,7 @@ declare const code_validateMermaidSyntax: typeof validateMermaidSyntax;
996
1063
  declare const code_validatePackageExports: typeof validatePackageExports;
997
1064
  declare const code_validateTsconfig: typeof validateTsconfig;
998
1065
  declare namespace code {
999
- export { code_ALL_FLAGS as ALL_FLAGS, type code_ApiEndpoint as ApiEndpoint, type code_ApiInfo as ApiInfo, type code_AriaIssue as AriaIssue, type code_AriaValidationResult as AriaValidationResult, code_CHEATSHEET as CHEATSHEET, type code_CharClassOptions as CharClassOptions, type code_CharClassResult as CharClassResult, type code_CheatsheetEntry as CheatsheetEntry, type code_CommitTrailer as CommitTrailer, type code_CommitTrailerResult as CommitTrailerResult, type code_ConnectionStringHost as ConnectionStringHost, type code_ConnectionStringResult as ConnectionStringResult, type code_ConventionalCommitFinding as ConventionalCommitFinding, type code_ConventionalCommitFooter as ConventionalCommitFooter, type code_ConventionalCommitOptions as ConventionalCommitOptions, type code_ConventionalCommitParsed as ConventionalCommitParsed, type code_ConventionalCommitResult as ConventionalCommitResult, type code_ConventionalCommitSeverity as ConventionalCommitSeverity, type code_CssResult as CssResult, code_DEFAULT_COMMIT_TYPES as DEFAULT_COMMIT_TYPES, type code_DependencyAuditDuplicate as DependencyAuditDuplicate, type code_DependencyAuditEntry as DependencyAuditEntry, type code_DependencyAuditIssue as DependencyAuditIssue, type code_DependencyAuditResult as DependencyAuditResult, type code_DependencyRangeType as DependencyRangeType, type code_DependencySection as DependencySection, type code_DockerImageRef as DockerImageRef, type code_DockerfileLintFinding as DockerfileLintFinding, type code_DockerfileLintResult as DockerfileLintResult, type code_DockerfileStage as DockerfileStage, type code_EditorConfigIssue as EditorConfigIssue, type code_EditorConfigProperty as EditorConfigProperty, type code_EditorConfigSection as EditorConfigSection, type code_EditorConfigValidationResult as EditorConfigValidationResult, type code_EnvEntry as EnvEntry, type code_EnvParseResult as EnvParseResult, type code_ExportsIssue as ExportsIssue, type code_ExportsShape as ExportsShape, type code_ExportsValidationResult as ExportsValidationResult, type code_FenceTagIssue as FenceTagIssue, type code_FenceTagIssueType as FenceTagIssueType, type code_FenceValidationResult as FenceValidationResult, type code_GitCommandConfig as GitCommandConfig, type code_GitCommandResult as GitCommandResult, type code_GitOperation as GitOperation, type code_GithubUrlInfo as GithubUrlInfo, type code_GithubUrlType as GithubUrlType, type code_GitignoreTestResult as GitignoreTestResult, type code_GqlFormatResult as GqlFormatResult, type code_HtmlFormatResult as HtmlFormatResult, type code_HtmlMinifyOptions as HtmlMinifyOptions, type code_HtmlMinifyResult as HtmlMinifyResult, type code_JsMinifyOptions as JsMinifyOptions, type code_JsMinifyResult as JsMinifyResult, code_KNOWN_LANGUAGE_TAGS as KNOWN_LANGUAGE_TAGS, type code_LinkReferenceDefinition as LinkReferenceDefinition, type code_LinkReferenceUsage as LinkReferenceUsage, code_MIME_TABLE as MIME_TABLE, type code_MarkdownFootnoteDefinition as MarkdownFootnoteDefinition, type code_MarkdownFootnoteReference as MarkdownFootnoteReference, type code_MarkdownFootnoteResult as MarkdownFootnoteResult, type code_MarkdownLinkReferenceResult as MarkdownLinkReferenceResult, type code_MatchResult as MatchResult, type code_MermaidSyntaxIssue as MermaidSyntaxIssue, type code_MermaidSyntaxResult as MermaidSyntaxResult, type code_MermaidSyntaxRule as MermaidSyntaxRule, type code_MimeEntry as MimeEntry, type code_MimeLookupResult as MimeLookupResult, code_OPERATIONS as OPERATIONS, type code_ParsedSpec as ParsedSpec, type code_PlaceholderStyle as PlaceholderStyle, type code_RedosFinding as RedosFinding, type code_RedosResult as RedosResult, type code_RedosSeverity as RedosSeverity, type code_RegexBackreferenceInfo as RegexBackreferenceInfo, type code_RegexError as RegexError, type code_RegexFlag as RegexFlag, type code_RegexGroupAnalysis as RegexGroupAnalysis, type code_RegexGroupInfo as RegexGroupInfo, type code_RegexGroupIssue as RegexGroupIssue, type code_RegexMatch as RegexMatch, type code_RegexResult as RegexResult, type code_RegexSuccess as RegexSuccess, type code_ResolvedLinkReference as ResolvedLinkReference, code_SQL_DEFAULT_OPTIONS as SQL_DEFAULT_OPTIONS, type code_Segment as Segment, type code_SpecVersion as SpecVersion, type code_SqlDialect as SqlDialect, type code_SqlFormatOptions as SqlFormatOptions, type code_SqlPlaceholder as SqlPlaceholder, type code_SqlPlaceholderResult as SqlPlaceholderResult, type code_SvgSpriteResult as SvgSpriteResult, type code_SvgSpriteSymbol as SvgSpriteSymbol, type code_TestPatternResult as TestPatternResult, type code_TsconfigIssue as TsconfigIssue, type code_TsconfigValidationResult as TsconfigValidationResult, code_analyzeRegexGroups as analyzeRegexGroups, code_auditDependencyRanges as auditDependencyRanges, code_buildCharacterClass as buildCharacterClass, code_buildDockerPull as buildDockerPull, code_buildDockerRun as buildDockerRun, code_buildGitCommand as buildGitCommand, code_collapseHtmlWhitespace as collapseHtmlWhitespace, code_collapseJsWhitespace as collapseJsWhitespace, code_countProperties as countProperties, code_countRules as countRules, code_countSqlPlaceholders as countSqlPlaceholders, code_detectDialect as detectDialect, code_detectOperationType as detectOperationType, code_detectRedos as detectRedos, code_envToExport as envToExport, code_envToJson as envToJson, code_extractMarkdownFootnotes as extractMarkdownFootnotes, code_extractMarkdownLinkReferences as extractMarkdownLinkReferences, code_extractSvgSpriteSymbols as extractSvgSpriteSymbols, code_formatCss as formatCss, code_formatGql as formatGql, code_formatHtml as formatHtml, code_formatSql as formatSql, code_getEndpointsByTag as getEndpointsByTag, code_getHtmlStats as getHtmlStats, code_getJsStats as getJsStats, code_getMethodColor as getMethodColor, code_isValidTag as isValidTag, code_lintConventionalCommit as lintConventionalCommit, code_lintDockerfile as lintDockerfile, code_lookupMime as lookupMime, code_minifyCss as minifyCss, code_minifyGql as minifyGql, code_minifyHtml as minifyHtml, code_minifyJs as minifyJs, code_minifySql as minifySql, code_normalizeRef as normalizeRef, code_parseCommitTrailers as parseCommitTrailers, code_parseConnectionString as parseConnectionString, code_parseDockerImage as parseDockerImage, code_parseEnv as parseEnv, code_parseGitCommand as parseGitCommand, code_parseGithubUrl as parseGithubUrl, code_parseSpec as parseSpec, code_removeConsoleCalls as removeConsoleCalls, code_removeEmptyAttributes as removeEmptyAttributes, code_removeHtmlComments as removeHtmlComments, code_removeJsComments as removeJsComments, code_removeRedundantAttributes as removeRedundantAttributes, code_searchCheatsheet as searchCheatsheet, code_searchEndpoints as searchEndpoints, code_splitStatements as splitStatements, code_testGitignorePatterns as testGitignorePatterns, code_testPattern as testPattern, code_testRegex as testRegex, code_validateAria as validateAria, code_validateEditorConfig as validateEditorConfig, code_validateEnvKey as validateEnvKey, code_validateFenceLanguageTags as validateFenceLanguageTags, code_validateMermaidSyntax as validateMermaidSyntax, code_validatePackageExports as validatePackageExports, code_validateTsconfig as validateTsconfig };
1066
+ export { code_ALL_FLAGS as ALL_FLAGS, type code_ApiEndpoint as ApiEndpoint, type code_ApiInfo as ApiInfo, type code_AriaIssue as AriaIssue, type code_AriaValidationResult as AriaValidationResult, code_CHEATSHEET as CHEATSHEET, type code_CharClassOptions as CharClassOptions, type code_CharClassResult as CharClassResult, type code_CheatsheetEntry as CheatsheetEntry, type code_CommitTrailer as CommitTrailer, type code_CommitTrailerResult as CommitTrailerResult, type code_ConnectionStringHost as ConnectionStringHost, type code_ConnectionStringResult as ConnectionStringResult, type code_ConventionalCommitFinding as ConventionalCommitFinding, type code_ConventionalCommitFooter as ConventionalCommitFooter, type code_ConventionalCommitOptions as ConventionalCommitOptions, type code_ConventionalCommitParsed as ConventionalCommitParsed, type code_ConventionalCommitResult as ConventionalCommitResult, type code_ConventionalCommitSeverity as ConventionalCommitSeverity, type code_CssResult as CssResult, code_DEFAULT_COMMIT_TYPES as DEFAULT_COMMIT_TYPES, type code_DependencyAuditDuplicate as DependencyAuditDuplicate, type code_DependencyAuditEntry as DependencyAuditEntry, type code_DependencyAuditIssue as DependencyAuditIssue, type code_DependencyAuditResult as DependencyAuditResult, type code_DependencyRangeType as DependencyRangeType, type code_DependencySection as DependencySection, type code_DockerImageRef as DockerImageRef, type code_DockerfileLintFinding as DockerfileLintFinding, type code_DockerfileLintResult as DockerfileLintResult, type code_DockerfileStage as DockerfileStage, type code_EditorConfigIssue as EditorConfigIssue, type code_EditorConfigProperty as EditorConfigProperty, type code_EditorConfigSection as EditorConfigSection, type code_EditorConfigValidationResult as EditorConfigValidationResult, type code_EnvEntry as EnvEntry, type code_EnvParseResult as EnvParseResult, type code_ExportsIssue as ExportsIssue, type code_ExportsShape as ExportsShape, type code_ExportsValidationResult as ExportsValidationResult, type code_FenceTagIssue as FenceTagIssue, type code_FenceTagIssueType as FenceTagIssueType, type code_FenceValidationResult as FenceValidationResult, type code_GitCommandConfig as GitCommandConfig, type code_GitCommandResult as GitCommandResult, type code_GitDiffStatFileEntry as GitDiffStatFileEntry, type code_GitDiffStatSummary as GitDiffStatSummary, type code_GitOperation as GitOperation, type code_GithubUrlInfo as GithubUrlInfo, type code_GithubUrlType as GithubUrlType, type code_GitignoreTestResult as GitignoreTestResult, type code_GqlFormatResult as GqlFormatResult, type code_HtmlFormatResult as HtmlFormatResult, type code_HtmlMinifyOptions as HtmlMinifyOptions, type code_HtmlMinifyResult as HtmlMinifyResult, type code_JsMinifyOptions as JsMinifyOptions, type code_JsMinifyResult as JsMinifyResult, code_KNOWN_LANGUAGE_TAGS as KNOWN_LANGUAGE_TAGS, type code_LinkReferenceDefinition as LinkReferenceDefinition, type code_LinkReferenceUsage as LinkReferenceUsage, type code_LockfileDuplicateReport as LockfileDuplicateReport, type code_LockfileFormat as LockfileFormat, type code_LockfilePackageEntry as LockfilePackageEntry, type code_LockfileVersionInstance as LockfileVersionInstance, code_MIME_TABLE as MIME_TABLE, type code_MarkdownFootnoteDefinition as MarkdownFootnoteDefinition, type code_MarkdownFootnoteReference as MarkdownFootnoteReference, type code_MarkdownFootnoteResult as MarkdownFootnoteResult, type code_MarkdownLinkReferenceResult as MarkdownLinkReferenceResult, type code_MatchResult as MatchResult, type code_MermaidSyntaxIssue as MermaidSyntaxIssue, type code_MermaidSyntaxResult as MermaidSyntaxResult, type code_MermaidSyntaxRule as MermaidSyntaxRule, type code_MimeEntry as MimeEntry, type code_MimeLookupResult as MimeLookupResult, code_OPERATIONS as OPERATIONS, type code_ParsedSpec as ParsedSpec, type code_PlaceholderStyle as PlaceholderStyle, type code_RedosFinding as RedosFinding, type code_RedosResult as RedosResult, type code_RedosSeverity as RedosSeverity, type code_RegexBackreferenceInfo as RegexBackreferenceInfo, type code_RegexError as RegexError, type code_RegexFlag as RegexFlag, type code_RegexGroupAnalysis as RegexGroupAnalysis, type code_RegexGroupInfo as RegexGroupInfo, type code_RegexGroupIssue as RegexGroupIssue, type code_RegexMatch as RegexMatch, type code_RegexResult as RegexResult, type code_RegexSuccess as RegexSuccess, type code_ResolvedLinkReference as ResolvedLinkReference, code_SQL_DEFAULT_OPTIONS as SQL_DEFAULT_OPTIONS, type code_Segment as Segment, type code_SpecVersion as SpecVersion, type code_SqlDialect as SqlDialect, type code_SqlFormatOptions as SqlFormatOptions, type code_SqlPlaceholder as SqlPlaceholder, type code_SqlPlaceholderResult as SqlPlaceholderResult, type code_SvgSpriteResult as SvgSpriteResult, type code_SvgSpriteSymbol as SvgSpriteSymbol, type code_TestPatternResult as TestPatternResult, type code_TsconfigIssue as TsconfigIssue, type code_TsconfigValidationResult as TsconfigValidationResult, code_analyzeRegexGroups as analyzeRegexGroups, code_auditDependencyRanges as auditDependencyRanges, code_buildCharacterClass as buildCharacterClass, code_buildDockerPull as buildDockerPull, code_buildDockerRun as buildDockerRun, code_buildGitCommand as buildGitCommand, code_collapseHtmlWhitespace as collapseHtmlWhitespace, code_collapseJsWhitespace as collapseJsWhitespace, code_countProperties as countProperties, code_countRules as countRules, code_countSqlPlaceholders as countSqlPlaceholders, code_detectDialect as detectDialect, code_detectLockfileFormat as detectLockfileFormat, code_detectOperationType as detectOperationType, code_detectRedos as detectRedos, code_envToExport as envToExport, code_envToJson as envToJson, code_extractMarkdownFootnotes as extractMarkdownFootnotes, code_extractMarkdownLinkReferences as extractMarkdownLinkReferences, code_extractSvgSpriteSymbols as extractSvgSpriteSymbols, code_findDuplicateLockfileVersions as findDuplicateLockfileVersions, code_formatCss as formatCss, code_formatGql as formatGql, code_formatHtml as formatHtml, code_formatSql as formatSql, code_getEndpointsByTag as getEndpointsByTag, code_getHtmlStats as getHtmlStats, code_getJsStats as getJsStats, code_getMethodColor as getMethodColor, code_isValidTag as isValidTag, code_lintConventionalCommit as lintConventionalCommit, code_lintDockerfile as lintDockerfile, code_lookupMime as lookupMime, code_minifyCss as minifyCss, code_minifyGql as minifyGql, code_minifyHtml as minifyHtml, code_minifyJs as minifyJs, code_minifySql as minifySql, code_normalizeRef as normalizeRef, code_parseCommitTrailers as parseCommitTrailers, code_parseConnectionString as parseConnectionString, code_parseDockerImage as parseDockerImage, code_parseEnv as parseEnv, code_parseGitCommand as parseGitCommand, code_parseGithubUrl as parseGithubUrl, code_parseSpec as parseSpec, code_removeConsoleCalls as removeConsoleCalls, code_removeEmptyAttributes as removeEmptyAttributes, code_removeHtmlComments as removeHtmlComments, code_removeJsComments as removeJsComments, code_removeRedundantAttributes as removeRedundantAttributes, code_searchCheatsheet as searchCheatsheet, code_searchEndpoints as searchEndpoints, code_splitStatements as splitStatements, code_summarizeGitDiffStat as summarizeGitDiffStat, code_testGitignorePatterns as testGitignorePatterns, code_testPattern as testPattern, code_testRegex as testRegex, code_validateAria as validateAria, code_validateEditorConfig as validateEditorConfig, code_validateEnvKey as validateEnvKey, code_validateFenceLanguageTags as validateFenceLanguageTags, code_validateMermaidSyntax as validateMermaidSyntax, code_validatePackageExports as validatePackageExports, code_validateTsconfig as validateTsconfig };
1000
1067
  }
1001
1068
 
1002
- export { type HtmlMinifyResult as $, ALL_FLAGS as A, type DockerfileLintFinding as B, CHEATSHEET as C, DEFAULT_COMMIT_TYPES as D, type DockerfileLintResult as E, type DockerfileStage as F, type EditorConfigIssue as G, type EditorConfigProperty as H, type EditorConfigSection as I, type EditorConfigValidationResult as J, type EnvEntry as K, type EnvParseResult as L, type ExportsIssue as M, type ExportsShape as N, type ExportsValidationResult as O, type FenceTagIssue as P, type FenceTagIssueType as Q, type FenceValidationResult as R, type GitCommandConfig as S, type GitCommandResult as T, type GitOperation as U, type GithubUrlInfo as V, type GithubUrlType as W, type GitignoreTestResult as X, type GqlFormatResult as Y, type HtmlFormatResult as Z, type HtmlMinifyOptions as _, type ApiEndpoint as a, formatCss as a$, type JsMinifyOptions as a0, type JsMinifyResult as a1, KNOWN_LANGUAGE_TAGS as a2, type LinkReferenceDefinition as a3, type LinkReferenceUsage as a4, MIME_TABLE as a5, type MarkdownFootnoteDefinition as a6, type MarkdownFootnoteReference as a7, type MarkdownFootnoteResult as a8, type MarkdownLinkReferenceResult as a9, type SqlFormatOptions as aA, type SqlPlaceholder as aB, type SqlPlaceholderResult as aC, type SvgSpriteResult as aD, type SvgSpriteSymbol as aE, type TestPatternResult as aF, type TsconfigIssue as aG, type TsconfigValidationResult as aH, analyzeRegexGroups as aI, auditDependencyRanges as aJ, buildCharacterClass as aK, buildDockerPull as aL, buildDockerRun as aM, buildGitCommand as aN, collapseHtmlWhitespace as aO, collapseJsWhitespace as aP, countProperties as aQ, countRules as aR, countSqlPlaceholders as aS, detectDialect as aT, detectOperationType as aU, detectRedos as aV, envToExport as aW, envToJson as aX, extractMarkdownFootnotes as aY, extractMarkdownLinkReferences as aZ, extractSvgSpriteSymbols as a_, type MatchResult as aa, type MermaidSyntaxIssue as ab, type MermaidSyntaxResult as ac, type MermaidSyntaxRule as ad, type MimeEntry as ae, type MimeLookupResult as af, OPERATIONS as ag, type ParsedSpec as ah, type PlaceholderStyle as ai, type RedosFinding as aj, type RedosResult as ak, type RedosSeverity as al, type RegexBackreferenceInfo as am, type RegexError as an, type RegexFlag as ao, type RegexGroupAnalysis as ap, type RegexGroupInfo as aq, type RegexGroupIssue as ar, type RegexMatch as as, type RegexResult as at, type RegexSuccess as au, type ResolvedLinkReference as av, SQL_DEFAULT_OPTIONS as aw, type Segment as ax, type SpecVersion as ay, type SqlDialect as az, type ApiInfo as b, formatGql as b0, formatHtml as b1, formatSql as b2, getEndpointsByTag as b3, getHtmlStats as b4, getJsStats as b5, getMethodColor as b6, isValidTag as b7, lintConventionalCommit as b8, lintDockerfile as b9, validateEditorConfig as bA, validateEnvKey as bB, validateFenceLanguageTags as bC, validateMermaidSyntax as bD, validatePackageExports as bE, validateTsconfig as bF, lookupMime as ba, minifyCss as bb, minifyGql as bc, minifyHtml as bd, minifyJs as be, minifySql as bf, normalizeRef as bg, parseCommitTrailers as bh, parseConnectionString as bi, parseDockerImage as bj, parseEnv as bk, parseGitCommand as bl, parseGithubUrl as bm, parseSpec as bn, removeConsoleCalls as bo, removeEmptyAttributes as bp, removeHtmlComments as bq, removeJsComments as br, removeRedundantAttributes as bs, searchCheatsheet as bt, searchEndpoints as bu, splitStatements as bv, testGitignorePatterns as bw, testPattern as bx, testRegex as by, validateAria as bz, code as c, type AriaIssue as d, type AriaValidationResult as e, type CharClassOptions as f, type CharClassResult as g, type CheatsheetEntry as h, type CommitTrailer as i, type CommitTrailerResult as j, type ConnectionStringHost as k, type ConnectionStringResult as l, type ConventionalCommitFinding as m, type ConventionalCommitFooter as n, type ConventionalCommitOptions as o, type ConventionalCommitParsed as p, type ConventionalCommitResult as q, type ConventionalCommitSeverity as r, type CssResult as s, type DependencyAuditDuplicate as t, type DependencyAuditEntry as u, type DependencyAuditIssue as v, type DependencyAuditResult as w, type DependencyRangeType as x, type DependencySection as y, type DockerImageRef as z };
1069
+ export { type HtmlFormatResult as $, ALL_FLAGS as A, type DockerfileLintFinding as B, CHEATSHEET as C, DEFAULT_COMMIT_TYPES as D, type DockerfileLintResult as E, type DockerfileStage as F, type EditorConfigIssue as G, type EditorConfigProperty as H, type EditorConfigSection as I, type EditorConfigValidationResult as J, type EnvEntry as K, type EnvParseResult as L, type ExportsIssue as M, type ExportsShape as N, type ExportsValidationResult as O, type FenceTagIssue as P, type FenceTagIssueType as Q, type FenceValidationResult as R, type GitCommandConfig as S, type GitCommandResult as T, type GitDiffStatFileEntry as U, type GitDiffStatSummary as V, type GitOperation as W, type GithubUrlInfo as X, type GithubUrlType as Y, type GitignoreTestResult as Z, type GqlFormatResult as _, type ApiEndpoint as a, detectOperationType as a$, type HtmlMinifyOptions as a0, type HtmlMinifyResult as a1, type JsMinifyOptions as a2, type JsMinifyResult as a3, KNOWN_LANGUAGE_TAGS as a4, type LinkReferenceDefinition as a5, type LinkReferenceUsage as a6, type LockfileDuplicateReport as a7, type LockfileFormat as a8, type LockfilePackageEntry as a9, type RegexSuccess as aA, type ResolvedLinkReference as aB, SQL_DEFAULT_OPTIONS as aC, type Segment as aD, type SpecVersion as aE, type SqlDialect as aF, type SqlFormatOptions as aG, type SqlPlaceholder as aH, type SqlPlaceholderResult as aI, type SvgSpriteResult as aJ, type SvgSpriteSymbol as aK, type TestPatternResult as aL, type TsconfigIssue as aM, type TsconfigValidationResult as aN, analyzeRegexGroups as aO, auditDependencyRanges as aP, buildCharacterClass as aQ, buildDockerPull as aR, buildDockerRun as aS, buildGitCommand as aT, collapseHtmlWhitespace as aU, collapseJsWhitespace as aV, countProperties as aW, countRules as aX, countSqlPlaceholders as aY, detectDialect as aZ, detectLockfileFormat as a_, type LockfileVersionInstance as aa, MIME_TABLE as ab, type MarkdownFootnoteDefinition as ac, type MarkdownFootnoteReference as ad, type MarkdownFootnoteResult as ae, type MarkdownLinkReferenceResult as af, type MatchResult as ag, type MermaidSyntaxIssue as ah, type MermaidSyntaxResult as ai, type MermaidSyntaxRule as aj, type MimeEntry as ak, type MimeLookupResult as al, OPERATIONS as am, type ParsedSpec as an, type PlaceholderStyle as ao, type RedosFinding as ap, type RedosResult as aq, type RedosSeverity as ar, type RegexBackreferenceInfo as as, type RegexError as at, type RegexFlag as au, type RegexGroupAnalysis as av, type RegexGroupInfo as aw, type RegexGroupIssue as ax, type RegexMatch as ay, type RegexResult as az, type ApiInfo as b, detectRedos as b0, envToExport as b1, envToJson as b2, extractMarkdownFootnotes as b3, extractMarkdownLinkReferences as b4, extractSvgSpriteSymbols as b5, findDuplicateLockfileVersions as b6, formatCss as b7, formatGql as b8, formatHtml as b9, removeRedundantAttributes as bA, searchCheatsheet as bB, searchEndpoints as bC, splitStatements as bD, summarizeGitDiffStat as bE, testGitignorePatterns as bF, testPattern as bG, testRegex as bH, validateAria as bI, validateEditorConfig as bJ, validateEnvKey as bK, validateFenceLanguageTags as bL, validateMermaidSyntax as bM, validatePackageExports as bN, validateTsconfig as bO, formatSql as ba, getEndpointsByTag as bb, getHtmlStats as bc, getJsStats as bd, getMethodColor as be, isValidTag as bf, lintConventionalCommit as bg, lintDockerfile as bh, lookupMime as bi, minifyCss as bj, minifyGql as bk, minifyHtml as bl, minifyJs as bm, minifySql as bn, normalizeRef as bo, parseCommitTrailers as bp, parseConnectionString as bq, parseDockerImage as br, parseEnv as bs, parseGitCommand as bt, parseGithubUrl as bu, parseSpec as bv, removeConsoleCalls as bw, removeEmptyAttributes as bx, removeHtmlComments as by, removeJsComments as bz, code as c, type AriaIssue as d, type AriaValidationResult as e, type CharClassOptions as f, type CharClassResult as g, type CheatsheetEntry as h, type CommitTrailer as i, type CommitTrailerResult as j, type ConnectionStringHost as k, type ConnectionStringResult as l, type ConventionalCommitFinding as m, type ConventionalCommitFooter as n, type ConventionalCommitOptions as o, type ConventionalCommitParsed as p, type ConventionalCommitResult as q, type ConventionalCommitSeverity as r, type CssResult as s, type DependencyAuditDuplicate as t, type DependencyAuditEntry as u, type DependencyAuditIssue as v, type DependencyAuditResult as w, type DependencyRangeType as x, type DependencySection as y, type DockerImageRef as z };
@@ -24,6 +24,7 @@
24
24
  * - markdown-heading-hierarchy-validator: validateMarkdownHeadingHierarchy
25
25
  * - markdown-internal-link-checker: checkMarkdownInternalLinks
26
26
  * - yaml-duplicate-key-detector: findYamlDuplicateKeys
27
+ * - csv-column-stats-summarizer: summarizeCsvColumnStats
27
28
  */
28
29
  interface ValidationResult {
29
30
  valid: boolean;
@@ -618,10 +619,51 @@ interface MarkdownTableAlignResult {
618
619
  declare function alignMarkdownTables(markdown: string): MarkdownTableAlignResult | {
619
620
  error: string;
620
621
  };
622
+ interface CsvColumnStatsOptions {
623
+ delimiter?: string;
624
+ hasHeader?: boolean;
625
+ }
626
+ interface CsvColumnMostCommon {
627
+ value: string;
628
+ count: number;
629
+ }
630
+ interface CsvColumnStats {
631
+ name: string;
632
+ totalCount: number;
633
+ nullCount: number;
634
+ uniqueCount: number;
635
+ isNumeric: boolean;
636
+ numericCount: number;
637
+ min?: number;
638
+ max?: number;
639
+ mean?: number;
640
+ median?: number;
641
+ stdDev?: number;
642
+ mostCommon?: CsvColumnMostCommon;
643
+ }
644
+ interface CsvColumnStatsResult {
645
+ columns: CsvColumnStats[];
646
+ rowCount: number;
647
+ }
648
+ /**
649
+ * Parse CSV/TSV data and compute per-column summary statistics: null and
650
+ * unique-value counts for every column, plus min/max/mean/median/standard
651
+ * deviation for any column where every non-empty value parses as a plain
652
+ * number. A column with even one non-numeric non-empty value is treated as
653
+ * categorical instead, where the most frequent value and its count are
654
+ * reported in place of the numeric stats.
655
+ */
656
+ declare function summarizeCsvColumnStats(input: string, options?: CsvColumnStatsOptions): CsvColumnStatsResult | {
657
+ error: string;
658
+ };
621
659
 
622
660
  type data_CaptionSpeedCue = CaptionSpeedCue;
623
661
  type data_CaptionSpeedResult = CaptionSpeedResult;
624
662
  type data_ConvertedSubtitles = ConvertedSubtitles;
663
+ type data_CsvColumnMostCommon = CsvColumnMostCommon;
664
+ type data_CsvColumnStats = CsvColumnStats;
665
+ type data_CsvColumnStatsOptions = CsvColumnStatsOptions;
666
+ type data_CsvColumnStatsResult = CsvColumnStatsResult;
625
667
  type data_CsvColumnType = CsvColumnType;
626
668
  type data_CsvColumnTypeInfo = CsvColumnTypeInfo;
627
669
  type data_CsvColumnTypeOptions = CsvColumnTypeOptions;
@@ -720,6 +762,7 @@ declare const data_resolveYamlAnchors: typeof resolveYamlAnchors;
720
762
  declare const data_serializeSubtitles: typeof serializeSubtitles;
721
763
  declare const data_shiftSubtitles: typeof shiftSubtitles;
722
764
  declare const data_stringifyIni: typeof stringifyIni;
765
+ declare const data_summarizeCsvColumnStats: typeof summarizeCsvColumnStats;
723
766
  declare const data_toCsvString: typeof toCsvString;
724
767
  declare const data_tomlToJson: typeof tomlToJson;
725
768
  declare const data_validateEnvKey: typeof validateEnvKey;
@@ -731,7 +774,7 @@ declare const data_validateXml: typeof validateXml;
731
774
  declare const data_validateYaml: typeof validateYaml;
732
775
  declare const data_xmlToJson: typeof xmlToJson;
733
776
  declare namespace data {
734
- export { type data_CaptionSpeedCue as CaptionSpeedCue, type data_CaptionSpeedResult as CaptionSpeedResult, type data_ConvertedSubtitles as ConvertedSubtitles, type data_CsvColumnType as CsvColumnType, type data_CsvColumnTypeInfo as CsvColumnTypeInfo, type data_CsvColumnTypeOptions as CsvColumnTypeOptions, type data_CsvColumnTypeResult as CsvColumnTypeResult, type data_CsvDuplicateGroup as CsvDuplicateGroup, type data_CsvDuplicateOptions as CsvDuplicateOptions, type data_CsvDuplicateResult as CsvDuplicateResult, type data_CsvParseResult as CsvParseResult, type data_CsvToSqlOptions as CsvToSqlOptions, type data_CsvToSqlResult as CsvToSqlResult, type data_EnvDiffError as EnvDiffError, type data_EnvDiffResult as EnvDiffResult, type data_EnvEntry as EnvEntry, type data_EnvParseResult as EnvParseResult, type data_FrontMatterError as FrontMatterError, type data_FrontMatterResult as FrontMatterResult, type data_HeadingEntry as HeadingEntry, type data_HeadingHierarchyResult as HeadingHierarchyResult, type data_HeadingIssue as HeadingIssue, type data_HeadingIssueType as HeadingIssueType, type data_IniSection as IniSection, type data_MarkdownAnchorHeading as MarkdownAnchorHeading, type data_MarkdownAnchorLink as MarkdownAnchorLink, type data_MarkdownInternalLinkCheckResult as MarkdownInternalLinkCheckResult, type data_MarkdownTableAlignResult as MarkdownTableAlignResult, type data_MarkdownTableColumnAlignment as MarkdownTableColumnAlignment, type data_MarkdownTableInfo as MarkdownTableInfo, type data_MarkdownTaskListItem as MarkdownTaskListItem, type data_MarkdownTaskListProgressResult as MarkdownTaskListProgressResult, type data_MarkdownTaskListSectionSummary as MarkdownTaskListSectionSummary, type data_MarkdownTocEntry as MarkdownTocEntry, type data_MarkdownTocOptions as MarkdownTocOptions, type data_MarkdownTocResult as MarkdownTocResult, type data_NdjsonDedupeResult as NdjsonDedupeResult, type data_NdjsonLineResult as NdjsonLineResult, type data_NdjsonValidateResult as NdjsonValidateResult, type data_ParseOptions as ParseOptions, type data_ParsedIni as ParsedIni, type data_ParsedSubtitles as ParsedSubtitles, type data_SubtitleCue as SubtitleCue, type data_SubtitleFormat as SubtitleFormat, type data_TomlFormatResult as TomlFormatResult, type data_ValidationResult as ValidationResult, type data_XmlFormatResult as XmlFormatResult, type data_XmlToJsonOptions as XmlToJsonOptions, type data_YamlAnchorInfo as YamlAnchorInfo, type data_YamlAnchorResolveError as YamlAnchorResolveError, type data_YamlAnchorResolveResult as YamlAnchorResolveResult, type data_YamlDuplicateKeyEntry as YamlDuplicateKeyEntry, type data_YamlDuplicateKeyError as YamlDuplicateKeyError, type data_YamlDuplicateKeyResult as YamlDuplicateKeyResult, data_alignMarkdownTables as alignMarkdownTables, data_analyzeCaptionSpeed as analyzeCaptionSpeed, data_calculateMarkdownTaskListProgress as calculateMarkdownTaskListProgress, data_checkMarkdownInternalLinks as checkMarkdownInternalLinks, data_convertSubtitles as convertSubtitles, data_csvToJson as csvToJson, data_csvToSqlInsert as csvToSqlInsert, data_dedupeNdjson as dedupeNdjson, data_detectDelimiter as detectDelimiter, data_detectSubtitleFormat as detectSubtitleFormat, data_diffEnvExample as diffEnvExample, data_envToExport as envToExport, data_envToJson as envToJson, data_findCsvDuplicateRows as findCsvDuplicateRows, data_findYamlDuplicateKeys as findYamlDuplicateKeys, data_formatNdjson as formatNdjson, data_formatSubtitleTimestamp as formatSubtitleTimestamp, data_formatToml as formatToml, data_formatXml as formatXml, data_generateMarkdownToc as generateMarkdownToc, data_getSection as getSection, data_getSectionNames as getSectionNames, data_getTomlStats as getTomlStats, data_getXmlStats as getXmlStats, data_getYamlStats as getYamlStats, data_inferCsvColumnTypes as inferCsvColumnTypes, data_iniToJson as iniToJson, data_jsonArrayToNdjson as jsonArrayToNdjson, data_jsonToIni as jsonToIni, data_jsonToToml as jsonToToml, data_jsonToXml as jsonToXml, data_minifyNdjson as minifyNdjson, data_minifyToml as minifyToml, data_minifyXml as minifyXml, data_ndjsonToCsv as ndjsonToCsv, data_ndjsonToJsonArray as ndjsonToJsonArray, data_parseCsv as parseCsv, data_parseEnv as parseEnv, data_parseFrontMatter as parseFrontMatter, data_parseIni as parseIni, data_parseSubtitleTimestamp as parseSubtitleTimestamp, data_parseSubtitles as parseSubtitles, data_parseXmlToObject as parseXmlToObject, data_resolveYamlAnchors as resolveYamlAnchors, data_serializeSubtitles as serializeSubtitles, data_shiftSubtitles as shiftSubtitles, data_stringifyIni as stringifyIni, data_toCsvString as toCsvString, data_tomlToJson as tomlToJson, data_validateEnvKey as validateEnvKey, data_validateIni as validateIni, data_validateMarkdownHeadingHierarchy as validateMarkdownHeadingHierarchy, data_validateNdjson as validateNdjson, data_validateToml as validateToml, data_validateXml as validateXml, data_validateYaml as validateYaml, data_xmlToJson as xmlToJson };
777
+ export { type data_CaptionSpeedCue as CaptionSpeedCue, type data_CaptionSpeedResult as CaptionSpeedResult, type data_ConvertedSubtitles as ConvertedSubtitles, type data_CsvColumnMostCommon as CsvColumnMostCommon, type data_CsvColumnStats as CsvColumnStats, type data_CsvColumnStatsOptions as CsvColumnStatsOptions, type data_CsvColumnStatsResult as CsvColumnStatsResult, type data_CsvColumnType as CsvColumnType, type data_CsvColumnTypeInfo as CsvColumnTypeInfo, type data_CsvColumnTypeOptions as CsvColumnTypeOptions, type data_CsvColumnTypeResult as CsvColumnTypeResult, type data_CsvDuplicateGroup as CsvDuplicateGroup, type data_CsvDuplicateOptions as CsvDuplicateOptions, type data_CsvDuplicateResult as CsvDuplicateResult, type data_CsvParseResult as CsvParseResult, type data_CsvToSqlOptions as CsvToSqlOptions, type data_CsvToSqlResult as CsvToSqlResult, type data_EnvDiffError as EnvDiffError, type data_EnvDiffResult as EnvDiffResult, type data_EnvEntry as EnvEntry, type data_EnvParseResult as EnvParseResult, type data_FrontMatterError as FrontMatterError, type data_FrontMatterResult as FrontMatterResult, type data_HeadingEntry as HeadingEntry, type data_HeadingHierarchyResult as HeadingHierarchyResult, type data_HeadingIssue as HeadingIssue, type data_HeadingIssueType as HeadingIssueType, type data_IniSection as IniSection, type data_MarkdownAnchorHeading as MarkdownAnchorHeading, type data_MarkdownAnchorLink as MarkdownAnchorLink, type data_MarkdownInternalLinkCheckResult as MarkdownInternalLinkCheckResult, type data_MarkdownTableAlignResult as MarkdownTableAlignResult, type data_MarkdownTableColumnAlignment as MarkdownTableColumnAlignment, type data_MarkdownTableInfo as MarkdownTableInfo, type data_MarkdownTaskListItem as MarkdownTaskListItem, type data_MarkdownTaskListProgressResult as MarkdownTaskListProgressResult, type data_MarkdownTaskListSectionSummary as MarkdownTaskListSectionSummary, type data_MarkdownTocEntry as MarkdownTocEntry, type data_MarkdownTocOptions as MarkdownTocOptions, type data_MarkdownTocResult as MarkdownTocResult, type data_NdjsonDedupeResult as NdjsonDedupeResult, type data_NdjsonLineResult as NdjsonLineResult, type data_NdjsonValidateResult as NdjsonValidateResult, type data_ParseOptions as ParseOptions, type data_ParsedIni as ParsedIni, type data_ParsedSubtitles as ParsedSubtitles, type data_SubtitleCue as SubtitleCue, type data_SubtitleFormat as SubtitleFormat, type data_TomlFormatResult as TomlFormatResult, type data_ValidationResult as ValidationResult, type data_XmlFormatResult as XmlFormatResult, type data_XmlToJsonOptions as XmlToJsonOptions, type data_YamlAnchorInfo as YamlAnchorInfo, type data_YamlAnchorResolveError as YamlAnchorResolveError, type data_YamlAnchorResolveResult as YamlAnchorResolveResult, type data_YamlDuplicateKeyEntry as YamlDuplicateKeyEntry, type data_YamlDuplicateKeyError as YamlDuplicateKeyError, type data_YamlDuplicateKeyResult as YamlDuplicateKeyResult, data_alignMarkdownTables as alignMarkdownTables, data_analyzeCaptionSpeed as analyzeCaptionSpeed, data_calculateMarkdownTaskListProgress as calculateMarkdownTaskListProgress, data_checkMarkdownInternalLinks as checkMarkdownInternalLinks, data_convertSubtitles as convertSubtitles, data_csvToJson as csvToJson, data_csvToSqlInsert as csvToSqlInsert, data_dedupeNdjson as dedupeNdjson, data_detectDelimiter as detectDelimiter, data_detectSubtitleFormat as detectSubtitleFormat, data_diffEnvExample as diffEnvExample, data_envToExport as envToExport, data_envToJson as envToJson, data_findCsvDuplicateRows as findCsvDuplicateRows, data_findYamlDuplicateKeys as findYamlDuplicateKeys, data_formatNdjson as formatNdjson, data_formatSubtitleTimestamp as formatSubtitleTimestamp, data_formatToml as formatToml, data_formatXml as formatXml, data_generateMarkdownToc as generateMarkdownToc, data_getSection as getSection, data_getSectionNames as getSectionNames, data_getTomlStats as getTomlStats, data_getXmlStats as getXmlStats, data_getYamlStats as getYamlStats, data_inferCsvColumnTypes as inferCsvColumnTypes, data_iniToJson as iniToJson, data_jsonArrayToNdjson as jsonArrayToNdjson, data_jsonToIni as jsonToIni, data_jsonToToml as jsonToToml, data_jsonToXml as jsonToXml, data_minifyNdjson as minifyNdjson, data_minifyToml as minifyToml, data_minifyXml as minifyXml, data_ndjsonToCsv as ndjsonToCsv, data_ndjsonToJsonArray as ndjsonToJsonArray, data_parseCsv as parseCsv, data_parseEnv as parseEnv, data_parseFrontMatter as parseFrontMatter, data_parseIni as parseIni, data_parseSubtitleTimestamp as parseSubtitleTimestamp, data_parseSubtitles as parseSubtitles, data_parseXmlToObject as parseXmlToObject, data_resolveYamlAnchors as resolveYamlAnchors, data_serializeSubtitles as serializeSubtitles, data_shiftSubtitles as shiftSubtitles, data_stringifyIni as stringifyIni, data_summarizeCsvColumnStats as summarizeCsvColumnStats, data_toCsvString as toCsvString, data_tomlToJson as tomlToJson, data_validateEnvKey as validateEnvKey, data_validateIni as validateIni, data_validateMarkdownHeadingHierarchy as validateMarkdownHeadingHierarchy, data_validateNdjson as validateNdjson, data_validateToml as validateToml, data_validateXml as validateXml, data_validateYaml as validateYaml, data_xmlToJson as xmlToJson };
735
778
  }
736
779
 
737
- export { type YamlDuplicateKeyError as $, type MarkdownTaskListProgressResult as A, type MarkdownTaskListSectionSummary as B, type CaptionSpeedCue as C, type MarkdownTocEntry as D, type EnvDiffError as E, type FrontMatterError as F, type MarkdownTocOptions as G, type HeadingEntry as H, type IniSection as I, type MarkdownTocResult as J, type NdjsonLineResult as K, type NdjsonValidateResult as L, type MarkdownAnchorHeading as M, type NdjsonDedupeResult as N, type ParsedIni as O, type ParseOptions as P, type ParsedSubtitles as Q, type SubtitleFormat as R, type SubtitleCue as S, type TomlFormatResult as T, type XmlToJsonOptions as U, type ValidationResult as V, type YamlAnchorResolveError as W, type XmlFormatResult as X, type YamlAnchorInfo as Y, type YamlAnchorResolveResult as Z, type YamlDuplicateKeyEntry as _, type CaptionSpeedResult as a, type YamlDuplicateKeyResult as a0, alignMarkdownTables as a1, analyzeCaptionSpeed as a2, calculateMarkdownTaskListProgress as a3, checkMarkdownInternalLinks as a4, convertSubtitles as a5, csvToJson as a6, csvToSqlInsert as a7, dedupeNdjson as a8, detectDelimiter as a9, ndjsonToJsonArray as aA, parseCsv as aB, parseEnv as aC, parseFrontMatter as aD, parseIni as aE, parseSubtitleTimestamp as aF, parseSubtitles as aG, parseXmlToObject as aH, resolveYamlAnchors as aI, serializeSubtitles as aJ, shiftSubtitles as aK, stringifyIni as aL, toCsvString as aM, tomlToJson as aN, validateEnvKey as aO, validateIni as aP, validateMarkdownHeadingHierarchy as aQ, validateNdjson as aR, validateToml as aS, validateXml as aT, validateYaml as aU, xmlToJson as aV, detectSubtitleFormat as aa, diffEnvExample as ab, envToExport as ac, envToJson as ad, findCsvDuplicateRows as ae, findYamlDuplicateKeys as af, formatNdjson as ag, formatSubtitleTimestamp as ah, formatToml as ai, formatXml as aj, generateMarkdownToc as ak, getSection as al, getSectionNames as am, getTomlStats as an, getXmlStats as ao, getYamlStats as ap, inferCsvColumnTypes as aq, iniToJson as ar, jsonArrayToNdjson as as, jsonToIni as at, jsonToToml as au, jsonToXml as av, minifyNdjson as aw, minifyToml as ax, minifyXml as ay, ndjsonToCsv as az, type ConvertedSubtitles as b, type CsvColumnType as c, data as d, type CsvColumnTypeInfo as e, type CsvColumnTypeOptions as f, type CsvColumnTypeResult as g, type CsvDuplicateGroup as h, type CsvDuplicateOptions as i, type CsvDuplicateResult as j, type CsvParseResult as k, type CsvToSqlOptions as l, type CsvToSqlResult as m, type EnvDiffResult as n, type EnvEntry as o, type EnvParseResult as p, type FrontMatterResult as q, type HeadingHierarchyResult as r, type HeadingIssue as s, type HeadingIssueType as t, type MarkdownAnchorLink as u, type MarkdownInternalLinkCheckResult as v, type MarkdownTableAlignResult as w, type MarkdownTableColumnAlignment as x, type MarkdownTableInfo as y, type MarkdownTaskListItem as z };
780
+ export { type YamlAnchorInfo as $, type MarkdownTableAlignResult as A, type MarkdownTableColumnAlignment as B, type CaptionSpeedCue as C, type MarkdownTableInfo as D, type EnvDiffError as E, type FrontMatterError as F, type MarkdownTaskListItem as G, type HeadingEntry as H, type IniSection as I, type MarkdownTaskListProgressResult as J, type MarkdownTaskListSectionSummary as K, type MarkdownTocEntry as L, type MarkdownAnchorHeading as M, type MarkdownTocOptions as N, type MarkdownTocResult as O, type NdjsonDedupeResult as P, type NdjsonLineResult as Q, type NdjsonValidateResult as R, type ParseOptions as S, type ParsedIni as T, type ParsedSubtitles as U, type SubtitleCue as V, type SubtitleFormat as W, type TomlFormatResult as X, type ValidationResult as Y, type XmlFormatResult as Z, type XmlToJsonOptions as _, type CaptionSpeedResult as a, type YamlAnchorResolveError as a0, type YamlAnchorResolveResult as a1, type YamlDuplicateKeyEntry as a2, type YamlDuplicateKeyError as a3, type YamlDuplicateKeyResult as a4, alignMarkdownTables as a5, analyzeCaptionSpeed as a6, calculateMarkdownTaskListProgress as a7, checkMarkdownInternalLinks as a8, convertSubtitles as a9, minifyNdjson as aA, minifyToml as aB, minifyXml as aC, ndjsonToCsv as aD, ndjsonToJsonArray as aE, parseCsv as aF, parseEnv as aG, parseFrontMatter as aH, parseIni as aI, parseSubtitleTimestamp as aJ, parseSubtitles as aK, parseXmlToObject as aL, resolveYamlAnchors as aM, serializeSubtitles as aN, shiftSubtitles as aO, stringifyIni as aP, summarizeCsvColumnStats as aQ, toCsvString as aR, tomlToJson as aS, validateEnvKey as aT, validateIni as aU, validateMarkdownHeadingHierarchy as aV, validateNdjson as aW, validateToml as aX, validateXml as aY, validateYaml as aZ, xmlToJson as a_, csvToJson as aa, csvToSqlInsert as ab, dedupeNdjson as ac, detectDelimiter as ad, detectSubtitleFormat as ae, diffEnvExample as af, envToExport as ag, envToJson as ah, findCsvDuplicateRows as ai, findYamlDuplicateKeys as aj, formatNdjson as ak, formatSubtitleTimestamp as al, formatToml as am, formatXml as an, generateMarkdownToc as ao, getSection as ap, getSectionNames as aq, getTomlStats as ar, getXmlStats as as, getYamlStats as at, inferCsvColumnTypes as au, iniToJson as av, jsonArrayToNdjson as aw, jsonToIni as ax, jsonToToml as ay, jsonToXml as az, type ConvertedSubtitles as b, type CsvColumnMostCommon as c, data as d, type CsvColumnStats as e, type CsvColumnStatsOptions as f, type CsvColumnStatsResult as g, type CsvColumnType as h, type CsvColumnTypeInfo as i, type CsvColumnTypeOptions as j, type CsvColumnTypeResult as k, type CsvDuplicateGroup as l, type CsvDuplicateOptions as m, type CsvDuplicateResult as n, type CsvParseResult as o, type CsvToSqlOptions as p, type CsvToSqlResult as q, type EnvDiffResult as r, type EnvEntry as s, type EnvParseResult as t, type FrontMatterResult as u, type HeadingHierarchyResult as v, type HeadingIssue as w, type HeadingIssueType as x, type MarkdownAnchorLink as y, type MarkdownInternalLinkCheckResult as z };
@@ -24,6 +24,7 @@
24
24
  * - markdown-heading-hierarchy-validator: validateMarkdownHeadingHierarchy
25
25
  * - markdown-internal-link-checker: checkMarkdownInternalLinks
26
26
  * - yaml-duplicate-key-detector: findYamlDuplicateKeys
27
+ * - csv-column-stats-summarizer: summarizeCsvColumnStats
27
28
  */
28
29
  interface ValidationResult {
29
30
  valid: boolean;
@@ -618,10 +619,51 @@ interface MarkdownTableAlignResult {
618
619
  declare function alignMarkdownTables(markdown: string): MarkdownTableAlignResult | {
619
620
  error: string;
620
621
  };
622
+ interface CsvColumnStatsOptions {
623
+ delimiter?: string;
624
+ hasHeader?: boolean;
625
+ }
626
+ interface CsvColumnMostCommon {
627
+ value: string;
628
+ count: number;
629
+ }
630
+ interface CsvColumnStats {
631
+ name: string;
632
+ totalCount: number;
633
+ nullCount: number;
634
+ uniqueCount: number;
635
+ isNumeric: boolean;
636
+ numericCount: number;
637
+ min?: number;
638
+ max?: number;
639
+ mean?: number;
640
+ median?: number;
641
+ stdDev?: number;
642
+ mostCommon?: CsvColumnMostCommon;
643
+ }
644
+ interface CsvColumnStatsResult {
645
+ columns: CsvColumnStats[];
646
+ rowCount: number;
647
+ }
648
+ /**
649
+ * Parse CSV/TSV data and compute per-column summary statistics: null and
650
+ * unique-value counts for every column, plus min/max/mean/median/standard
651
+ * deviation for any column where every non-empty value parses as a plain
652
+ * number. A column with even one non-numeric non-empty value is treated as
653
+ * categorical instead, where the most frequent value and its count are
654
+ * reported in place of the numeric stats.
655
+ */
656
+ declare function summarizeCsvColumnStats(input: string, options?: CsvColumnStatsOptions): CsvColumnStatsResult | {
657
+ error: string;
658
+ };
621
659
 
622
660
  type data_CaptionSpeedCue = CaptionSpeedCue;
623
661
  type data_CaptionSpeedResult = CaptionSpeedResult;
624
662
  type data_ConvertedSubtitles = ConvertedSubtitles;
663
+ type data_CsvColumnMostCommon = CsvColumnMostCommon;
664
+ type data_CsvColumnStats = CsvColumnStats;
665
+ type data_CsvColumnStatsOptions = CsvColumnStatsOptions;
666
+ type data_CsvColumnStatsResult = CsvColumnStatsResult;
625
667
  type data_CsvColumnType = CsvColumnType;
626
668
  type data_CsvColumnTypeInfo = CsvColumnTypeInfo;
627
669
  type data_CsvColumnTypeOptions = CsvColumnTypeOptions;
@@ -720,6 +762,7 @@ declare const data_resolveYamlAnchors: typeof resolveYamlAnchors;
720
762
  declare const data_serializeSubtitles: typeof serializeSubtitles;
721
763
  declare const data_shiftSubtitles: typeof shiftSubtitles;
722
764
  declare const data_stringifyIni: typeof stringifyIni;
765
+ declare const data_summarizeCsvColumnStats: typeof summarizeCsvColumnStats;
723
766
  declare const data_toCsvString: typeof toCsvString;
724
767
  declare const data_tomlToJson: typeof tomlToJson;
725
768
  declare const data_validateEnvKey: typeof validateEnvKey;
@@ -731,7 +774,7 @@ declare const data_validateXml: typeof validateXml;
731
774
  declare const data_validateYaml: typeof validateYaml;
732
775
  declare const data_xmlToJson: typeof xmlToJson;
733
776
  declare namespace data {
734
- export { type data_CaptionSpeedCue as CaptionSpeedCue, type data_CaptionSpeedResult as CaptionSpeedResult, type data_ConvertedSubtitles as ConvertedSubtitles, type data_CsvColumnType as CsvColumnType, type data_CsvColumnTypeInfo as CsvColumnTypeInfo, type data_CsvColumnTypeOptions as CsvColumnTypeOptions, type data_CsvColumnTypeResult as CsvColumnTypeResult, type data_CsvDuplicateGroup as CsvDuplicateGroup, type data_CsvDuplicateOptions as CsvDuplicateOptions, type data_CsvDuplicateResult as CsvDuplicateResult, type data_CsvParseResult as CsvParseResult, type data_CsvToSqlOptions as CsvToSqlOptions, type data_CsvToSqlResult as CsvToSqlResult, type data_EnvDiffError as EnvDiffError, type data_EnvDiffResult as EnvDiffResult, type data_EnvEntry as EnvEntry, type data_EnvParseResult as EnvParseResult, type data_FrontMatterError as FrontMatterError, type data_FrontMatterResult as FrontMatterResult, type data_HeadingEntry as HeadingEntry, type data_HeadingHierarchyResult as HeadingHierarchyResult, type data_HeadingIssue as HeadingIssue, type data_HeadingIssueType as HeadingIssueType, type data_IniSection as IniSection, type data_MarkdownAnchorHeading as MarkdownAnchorHeading, type data_MarkdownAnchorLink as MarkdownAnchorLink, type data_MarkdownInternalLinkCheckResult as MarkdownInternalLinkCheckResult, type data_MarkdownTableAlignResult as MarkdownTableAlignResult, type data_MarkdownTableColumnAlignment as MarkdownTableColumnAlignment, type data_MarkdownTableInfo as MarkdownTableInfo, type data_MarkdownTaskListItem as MarkdownTaskListItem, type data_MarkdownTaskListProgressResult as MarkdownTaskListProgressResult, type data_MarkdownTaskListSectionSummary as MarkdownTaskListSectionSummary, type data_MarkdownTocEntry as MarkdownTocEntry, type data_MarkdownTocOptions as MarkdownTocOptions, type data_MarkdownTocResult as MarkdownTocResult, type data_NdjsonDedupeResult as NdjsonDedupeResult, type data_NdjsonLineResult as NdjsonLineResult, type data_NdjsonValidateResult as NdjsonValidateResult, type data_ParseOptions as ParseOptions, type data_ParsedIni as ParsedIni, type data_ParsedSubtitles as ParsedSubtitles, type data_SubtitleCue as SubtitleCue, type data_SubtitleFormat as SubtitleFormat, type data_TomlFormatResult as TomlFormatResult, type data_ValidationResult as ValidationResult, type data_XmlFormatResult as XmlFormatResult, type data_XmlToJsonOptions as XmlToJsonOptions, type data_YamlAnchorInfo as YamlAnchorInfo, type data_YamlAnchorResolveError as YamlAnchorResolveError, type data_YamlAnchorResolveResult as YamlAnchorResolveResult, type data_YamlDuplicateKeyEntry as YamlDuplicateKeyEntry, type data_YamlDuplicateKeyError as YamlDuplicateKeyError, type data_YamlDuplicateKeyResult as YamlDuplicateKeyResult, data_alignMarkdownTables as alignMarkdownTables, data_analyzeCaptionSpeed as analyzeCaptionSpeed, data_calculateMarkdownTaskListProgress as calculateMarkdownTaskListProgress, data_checkMarkdownInternalLinks as checkMarkdownInternalLinks, data_convertSubtitles as convertSubtitles, data_csvToJson as csvToJson, data_csvToSqlInsert as csvToSqlInsert, data_dedupeNdjson as dedupeNdjson, data_detectDelimiter as detectDelimiter, data_detectSubtitleFormat as detectSubtitleFormat, data_diffEnvExample as diffEnvExample, data_envToExport as envToExport, data_envToJson as envToJson, data_findCsvDuplicateRows as findCsvDuplicateRows, data_findYamlDuplicateKeys as findYamlDuplicateKeys, data_formatNdjson as formatNdjson, data_formatSubtitleTimestamp as formatSubtitleTimestamp, data_formatToml as formatToml, data_formatXml as formatXml, data_generateMarkdownToc as generateMarkdownToc, data_getSection as getSection, data_getSectionNames as getSectionNames, data_getTomlStats as getTomlStats, data_getXmlStats as getXmlStats, data_getYamlStats as getYamlStats, data_inferCsvColumnTypes as inferCsvColumnTypes, data_iniToJson as iniToJson, data_jsonArrayToNdjson as jsonArrayToNdjson, data_jsonToIni as jsonToIni, data_jsonToToml as jsonToToml, data_jsonToXml as jsonToXml, data_minifyNdjson as minifyNdjson, data_minifyToml as minifyToml, data_minifyXml as minifyXml, data_ndjsonToCsv as ndjsonToCsv, data_ndjsonToJsonArray as ndjsonToJsonArray, data_parseCsv as parseCsv, data_parseEnv as parseEnv, data_parseFrontMatter as parseFrontMatter, data_parseIni as parseIni, data_parseSubtitleTimestamp as parseSubtitleTimestamp, data_parseSubtitles as parseSubtitles, data_parseXmlToObject as parseXmlToObject, data_resolveYamlAnchors as resolveYamlAnchors, data_serializeSubtitles as serializeSubtitles, data_shiftSubtitles as shiftSubtitles, data_stringifyIni as stringifyIni, data_toCsvString as toCsvString, data_tomlToJson as tomlToJson, data_validateEnvKey as validateEnvKey, data_validateIni as validateIni, data_validateMarkdownHeadingHierarchy as validateMarkdownHeadingHierarchy, data_validateNdjson as validateNdjson, data_validateToml as validateToml, data_validateXml as validateXml, data_validateYaml as validateYaml, data_xmlToJson as xmlToJson };
777
+ export { type data_CaptionSpeedCue as CaptionSpeedCue, type data_CaptionSpeedResult as CaptionSpeedResult, type data_ConvertedSubtitles as ConvertedSubtitles, type data_CsvColumnMostCommon as CsvColumnMostCommon, type data_CsvColumnStats as CsvColumnStats, type data_CsvColumnStatsOptions as CsvColumnStatsOptions, type data_CsvColumnStatsResult as CsvColumnStatsResult, type data_CsvColumnType as CsvColumnType, type data_CsvColumnTypeInfo as CsvColumnTypeInfo, type data_CsvColumnTypeOptions as CsvColumnTypeOptions, type data_CsvColumnTypeResult as CsvColumnTypeResult, type data_CsvDuplicateGroup as CsvDuplicateGroup, type data_CsvDuplicateOptions as CsvDuplicateOptions, type data_CsvDuplicateResult as CsvDuplicateResult, type data_CsvParseResult as CsvParseResult, type data_CsvToSqlOptions as CsvToSqlOptions, type data_CsvToSqlResult as CsvToSqlResult, type data_EnvDiffError as EnvDiffError, type data_EnvDiffResult as EnvDiffResult, type data_EnvEntry as EnvEntry, type data_EnvParseResult as EnvParseResult, type data_FrontMatterError as FrontMatterError, type data_FrontMatterResult as FrontMatterResult, type data_HeadingEntry as HeadingEntry, type data_HeadingHierarchyResult as HeadingHierarchyResult, type data_HeadingIssue as HeadingIssue, type data_HeadingIssueType as HeadingIssueType, type data_IniSection as IniSection, type data_MarkdownAnchorHeading as MarkdownAnchorHeading, type data_MarkdownAnchorLink as MarkdownAnchorLink, type data_MarkdownInternalLinkCheckResult as MarkdownInternalLinkCheckResult, type data_MarkdownTableAlignResult as MarkdownTableAlignResult, type data_MarkdownTableColumnAlignment as MarkdownTableColumnAlignment, type data_MarkdownTableInfo as MarkdownTableInfo, type data_MarkdownTaskListItem as MarkdownTaskListItem, type data_MarkdownTaskListProgressResult as MarkdownTaskListProgressResult, type data_MarkdownTaskListSectionSummary as MarkdownTaskListSectionSummary, type data_MarkdownTocEntry as MarkdownTocEntry, type data_MarkdownTocOptions as MarkdownTocOptions, type data_MarkdownTocResult as MarkdownTocResult, type data_NdjsonDedupeResult as NdjsonDedupeResult, type data_NdjsonLineResult as NdjsonLineResult, type data_NdjsonValidateResult as NdjsonValidateResult, type data_ParseOptions as ParseOptions, type data_ParsedIni as ParsedIni, type data_ParsedSubtitles as ParsedSubtitles, type data_SubtitleCue as SubtitleCue, type data_SubtitleFormat as SubtitleFormat, type data_TomlFormatResult as TomlFormatResult, type data_ValidationResult as ValidationResult, type data_XmlFormatResult as XmlFormatResult, type data_XmlToJsonOptions as XmlToJsonOptions, type data_YamlAnchorInfo as YamlAnchorInfo, type data_YamlAnchorResolveError as YamlAnchorResolveError, type data_YamlAnchorResolveResult as YamlAnchorResolveResult, type data_YamlDuplicateKeyEntry as YamlDuplicateKeyEntry, type data_YamlDuplicateKeyError as YamlDuplicateKeyError, type data_YamlDuplicateKeyResult as YamlDuplicateKeyResult, data_alignMarkdownTables as alignMarkdownTables, data_analyzeCaptionSpeed as analyzeCaptionSpeed, data_calculateMarkdownTaskListProgress as calculateMarkdownTaskListProgress, data_checkMarkdownInternalLinks as checkMarkdownInternalLinks, data_convertSubtitles as convertSubtitles, data_csvToJson as csvToJson, data_csvToSqlInsert as csvToSqlInsert, data_dedupeNdjson as dedupeNdjson, data_detectDelimiter as detectDelimiter, data_detectSubtitleFormat as detectSubtitleFormat, data_diffEnvExample as diffEnvExample, data_envToExport as envToExport, data_envToJson as envToJson, data_findCsvDuplicateRows as findCsvDuplicateRows, data_findYamlDuplicateKeys as findYamlDuplicateKeys, data_formatNdjson as formatNdjson, data_formatSubtitleTimestamp as formatSubtitleTimestamp, data_formatToml as formatToml, data_formatXml as formatXml, data_generateMarkdownToc as generateMarkdownToc, data_getSection as getSection, data_getSectionNames as getSectionNames, data_getTomlStats as getTomlStats, data_getXmlStats as getXmlStats, data_getYamlStats as getYamlStats, data_inferCsvColumnTypes as inferCsvColumnTypes, data_iniToJson as iniToJson, data_jsonArrayToNdjson as jsonArrayToNdjson, data_jsonToIni as jsonToIni, data_jsonToToml as jsonToToml, data_jsonToXml as jsonToXml, data_minifyNdjson as minifyNdjson, data_minifyToml as minifyToml, data_minifyXml as minifyXml, data_ndjsonToCsv as ndjsonToCsv, data_ndjsonToJsonArray as ndjsonToJsonArray, data_parseCsv as parseCsv, data_parseEnv as parseEnv, data_parseFrontMatter as parseFrontMatter, data_parseIni as parseIni, data_parseSubtitleTimestamp as parseSubtitleTimestamp, data_parseSubtitles as parseSubtitles, data_parseXmlToObject as parseXmlToObject, data_resolveYamlAnchors as resolveYamlAnchors, data_serializeSubtitles as serializeSubtitles, data_shiftSubtitles as shiftSubtitles, data_stringifyIni as stringifyIni, data_summarizeCsvColumnStats as summarizeCsvColumnStats, data_toCsvString as toCsvString, data_tomlToJson as tomlToJson, data_validateEnvKey as validateEnvKey, data_validateIni as validateIni, data_validateMarkdownHeadingHierarchy as validateMarkdownHeadingHierarchy, data_validateNdjson as validateNdjson, data_validateToml as validateToml, data_validateXml as validateXml, data_validateYaml as validateYaml, data_xmlToJson as xmlToJson };
735
778
  }
736
779
 
737
- export { type YamlDuplicateKeyError as $, type MarkdownTaskListProgressResult as A, type MarkdownTaskListSectionSummary as B, type CaptionSpeedCue as C, type MarkdownTocEntry as D, type EnvDiffError as E, type FrontMatterError as F, type MarkdownTocOptions as G, type HeadingEntry as H, type IniSection as I, type MarkdownTocResult as J, type NdjsonLineResult as K, type NdjsonValidateResult as L, type MarkdownAnchorHeading as M, type NdjsonDedupeResult as N, type ParsedIni as O, type ParseOptions as P, type ParsedSubtitles as Q, type SubtitleFormat as R, type SubtitleCue as S, type TomlFormatResult as T, type XmlToJsonOptions as U, type ValidationResult as V, type YamlAnchorResolveError as W, type XmlFormatResult as X, type YamlAnchorInfo as Y, type YamlAnchorResolveResult as Z, type YamlDuplicateKeyEntry as _, type CaptionSpeedResult as a, type YamlDuplicateKeyResult as a0, alignMarkdownTables as a1, analyzeCaptionSpeed as a2, calculateMarkdownTaskListProgress as a3, checkMarkdownInternalLinks as a4, convertSubtitles as a5, csvToJson as a6, csvToSqlInsert as a7, dedupeNdjson as a8, detectDelimiter as a9, ndjsonToJsonArray as aA, parseCsv as aB, parseEnv as aC, parseFrontMatter as aD, parseIni as aE, parseSubtitleTimestamp as aF, parseSubtitles as aG, parseXmlToObject as aH, resolveYamlAnchors as aI, serializeSubtitles as aJ, shiftSubtitles as aK, stringifyIni as aL, toCsvString as aM, tomlToJson as aN, validateEnvKey as aO, validateIni as aP, validateMarkdownHeadingHierarchy as aQ, validateNdjson as aR, validateToml as aS, validateXml as aT, validateYaml as aU, xmlToJson as aV, detectSubtitleFormat as aa, diffEnvExample as ab, envToExport as ac, envToJson as ad, findCsvDuplicateRows as ae, findYamlDuplicateKeys as af, formatNdjson as ag, formatSubtitleTimestamp as ah, formatToml as ai, formatXml as aj, generateMarkdownToc as ak, getSection as al, getSectionNames as am, getTomlStats as an, getXmlStats as ao, getYamlStats as ap, inferCsvColumnTypes as aq, iniToJson as ar, jsonArrayToNdjson as as, jsonToIni as at, jsonToToml as au, jsonToXml as av, minifyNdjson as aw, minifyToml as ax, minifyXml as ay, ndjsonToCsv as az, type ConvertedSubtitles as b, type CsvColumnType as c, data as d, type CsvColumnTypeInfo as e, type CsvColumnTypeOptions as f, type CsvColumnTypeResult as g, type CsvDuplicateGroup as h, type CsvDuplicateOptions as i, type CsvDuplicateResult as j, type CsvParseResult as k, type CsvToSqlOptions as l, type CsvToSqlResult as m, type EnvDiffResult as n, type EnvEntry as o, type EnvParseResult as p, type FrontMatterResult as q, type HeadingHierarchyResult as r, type HeadingIssue as s, type HeadingIssueType as t, type MarkdownAnchorLink as u, type MarkdownInternalLinkCheckResult as v, type MarkdownTableAlignResult as w, type MarkdownTableColumnAlignment as x, type MarkdownTableInfo as y, type MarkdownTaskListItem as z };
780
+ export { type YamlAnchorInfo as $, type MarkdownTableAlignResult as A, type MarkdownTableColumnAlignment as B, type CaptionSpeedCue as C, type MarkdownTableInfo as D, type EnvDiffError as E, type FrontMatterError as F, type MarkdownTaskListItem as G, type HeadingEntry as H, type IniSection as I, type MarkdownTaskListProgressResult as J, type MarkdownTaskListSectionSummary as K, type MarkdownTocEntry as L, type MarkdownAnchorHeading as M, type MarkdownTocOptions as N, type MarkdownTocResult as O, type NdjsonDedupeResult as P, type NdjsonLineResult as Q, type NdjsonValidateResult as R, type ParseOptions as S, type ParsedIni as T, type ParsedSubtitles as U, type SubtitleCue as V, type SubtitleFormat as W, type TomlFormatResult as X, type ValidationResult as Y, type XmlFormatResult as Z, type XmlToJsonOptions as _, type CaptionSpeedResult as a, type YamlAnchorResolveError as a0, type YamlAnchorResolveResult as a1, type YamlDuplicateKeyEntry as a2, type YamlDuplicateKeyError as a3, type YamlDuplicateKeyResult as a4, alignMarkdownTables as a5, analyzeCaptionSpeed as a6, calculateMarkdownTaskListProgress as a7, checkMarkdownInternalLinks as a8, convertSubtitles as a9, minifyNdjson as aA, minifyToml as aB, minifyXml as aC, ndjsonToCsv as aD, ndjsonToJsonArray as aE, parseCsv as aF, parseEnv as aG, parseFrontMatter as aH, parseIni as aI, parseSubtitleTimestamp as aJ, parseSubtitles as aK, parseXmlToObject as aL, resolveYamlAnchors as aM, serializeSubtitles as aN, shiftSubtitles as aO, stringifyIni as aP, summarizeCsvColumnStats as aQ, toCsvString as aR, tomlToJson as aS, validateEnvKey as aT, validateIni as aU, validateMarkdownHeadingHierarchy as aV, validateNdjson as aW, validateToml as aX, validateXml as aY, validateYaml as aZ, xmlToJson as a_, csvToJson as aa, csvToSqlInsert as ab, dedupeNdjson as ac, detectDelimiter as ad, detectSubtitleFormat as ae, diffEnvExample as af, envToExport as ag, envToJson as ah, findCsvDuplicateRows as ai, findYamlDuplicateKeys as aj, formatNdjson as ak, formatSubtitleTimestamp as al, formatToml as am, formatXml as an, generateMarkdownToc as ao, getSection as ap, getSectionNames as aq, getTomlStats as ar, getXmlStats as as, getYamlStats as at, inferCsvColumnTypes as au, iniToJson as av, jsonArrayToNdjson as aw, jsonToIni as ax, jsonToToml as ay, jsonToXml as az, type ConvertedSubtitles as b, type CsvColumnMostCommon as c, data as d, type CsvColumnStats as e, type CsvColumnStatsOptions as f, type CsvColumnStatsResult as g, type CsvColumnType as h, type CsvColumnTypeInfo as i, type CsvColumnTypeOptions as j, type CsvColumnTypeResult as k, type CsvDuplicateGroup as l, type CsvDuplicateOptions as m, type CsvDuplicateResult as n, type CsvParseResult as o, type CsvToSqlOptions as p, type CsvToSqlResult as q, type EnvDiffResult as r, type EnvEntry as s, type EnvParseResult as t, type FrontMatterResult as u, type HeadingHierarchyResult as v, type HeadingIssue as w, type HeadingIssueType as x, type MarkdownAnchorLink as y, type MarkdownInternalLinkCheckResult as z };