export namespace defaultSettings { const HTMLRegExp: RegExp; const HTMLcommentRegExp: RegExp; const spaceRegExp: RegExp; const HTMLEntityRegExp: RegExp; const connectorRegExp: RegExp; const removeRegExp: RegExp; const astralRegExp: RegExp; const wordsRegExp: RegExp; const characters_excluding_spacesRegExp: RegExp; const characters_including_spacesRegExp: RegExp; namespace l10n { const type: string; } } export type GCWordCountStrategy = import('./index').GCWordCountStrategy; export type GCWordCountL10n = Partial<{ type: GCWordCountStrategy; shortcodes: string[]; }>; export type GCWordCountSettingsFields = { /** * Regular expression that matches HTML tags */ HTMLRegExp: RegExp; /** * Regular expression that matches HTML comments */ HTMLcommentRegExp: RegExp; /** * Regular expression that matches spaces in HTML */ spaceRegExp: RegExp; /** * Regular expression that matches HTML entities */ HTMLEntityRegExp: RegExp; /** * Regular expression that matches word connectors, like em-dash */ connectorRegExp: RegExp; /** * Regular expression that matches various characters to be removed when counting */ removeRegExp: RegExp; /** * Regular expression that matches astral UTF-16 code points */ astralRegExp: RegExp; /** * Regular expression that matches words */ wordsRegExp: RegExp; /** * Regular expression that matches characters excluding spaces */ characters_excluding_spacesRegExp: RegExp; /** * Regular expression that matches characters including spaces */ characters_including_spacesRegExp: RegExp; /** * Regular expression that matches GeChiUI shortcodes */ shortcodesRegExp: RegExp; /** * List of all shortcodes */ shortcodes: string[]; /** * Describes what and how are we counting */ type: GCWordCountStrategy; /** * Object with human translations */ l10n: GCWordCountL10n; }; /** * Lower-level settings for word counting that can be overridden. */ export type GCWordCountUserSettings = Partial; /** * Word counting settings that include non-optional values we set if missing */ export type GCWordCountDefaultSettings = GCWordCountUserSettings & typeof defaultSettings; //# sourceMappingURL=defaultSettings.d.ts.map