import * as _sinclair_typebox from '@sinclair/typebox'; /** * Font-related Schemas (shared) * Extracted to avoid circular dependencies between theme and component schemas. */ /** Hex color with # prefix (e.g. "#000000") or a theme color name (e.g. "primary") */ declare const HexColorSchema: _sinclair_typebox.TString; /** Like HexColorSchema but also accepts "transparent" (used for backgroundColor) */ declare const HexColorOrTransparentSchema: _sinclair_typebox.TString; /** * BCP-47 / IETF language tag used by Word for spell- and grammar-checking * (e.g. "en-US", "fr-FR", "de-DE"). Set on the document to change the default * proofing language, or on a component to override it for that text only. */ declare const LanguageSchema: _sinclair_typebox.TString; /** * Disable spell/grammar checking ("do not proof") for the text, e.g. code * snippets, identifiers, or product names Word would otherwise flag. */ declare const NoProofSchema: _sinclair_typebox.TBoolean; /** * A "known words" allowlist: every whole-word, case-insensitive occurrence of * these terms is wrapped in a no-proof run so Word never flags them, while the * surrounding text is still spell-checked. Acts as a portable, document-embedded * stand-in for a custom dictionary (Word's real dictionaries can't be shipped * inside a .docx). Set on the document to apply everywhere; a component's list * is merged with (added to) the document list. */ declare const NoProofWordsSchema: _sinclair_typebox.TArray<_sinclair_typebox.TString>; /** * Shared schema for text formatting properties. * Used as base for both font definitions and style definitions. */ declare const TextFormattingPropertiesSchema: _sinclair_typebox.TObject<{ case: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"none">, _sinclair_typebox.TLiteral<"upper">, _sinclair_typebox.TLiteral<"smallCaps">]>>; size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>; color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>; bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>; fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>; italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>; underline: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>; lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{ type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>; value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>; }>>; spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{ before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>; after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>; }>>; characterSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{ type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"condensed">, _sinclair_typebox.TLiteral<"expanded">]>; value: _sinclair_typebox.TNumber; }>>; scale: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>; }>; /** * Font definition schema with full text formatting properties. * All properties except 'family' are optional. */ declare const FontDefinitionSchema: _sinclair_typebox.TObject<{ case: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"none">, _sinclair_typebox.TLiteral<"upper">, _sinclair_typebox.TLiteral<"smallCaps">]>>; size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>; color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>; bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>; fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>; italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>; underline: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>; lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{ type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>; value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>; }>>; spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{ before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>; after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>; }>>; characterSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{ type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"condensed">, _sinclair_typebox.TLiteral<"expanded">]>; value: _sinclair_typebox.TNumber; }>>; scale: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>; family: _sinclair_typebox.TString; }>; export { FontDefinitionSchema, HexColorOrTransparentSchema, HexColorSchema, LanguageSchema, NoProofSchema, NoProofWordsSchema, TextFormattingPropertiesSchema };