@pixerate/editor 0.160.0 → 0.162.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.
Files changed (146) hide show
  1. package/dist/agent/index.cjs +36 -35
  2. package/dist/agent/index.js +7 -6
  3. package/dist/animation/index.cjs +5 -4
  4. package/dist/animation/index.js +4 -3
  5. package/dist/animation-editor/index.cjs +62 -61
  6. package/dist/animation-editor/index.js +6 -5
  7. package/dist/canvas/index.cjs +33 -32
  8. package/dist/canvas/index.js +6 -5
  9. package/dist/chart/index.cjs +88 -87
  10. package/dist/chart/index.js +7 -6
  11. package/dist/{chunk-QMI5HZWA.cjs → chunk-236TKNUR.cjs} +3 -3
  12. package/dist/{chunk-6UPGM3JB.js → chunk-2TKHLX6H.js} +1 -1
  13. package/dist/{chunk-3YDQLQH2.cjs → chunk-32MMQYCQ.cjs} +81 -81
  14. package/dist/{chunk-MHEXLG3M.cjs → chunk-3GJH2MGH.cjs} +37 -37
  15. package/dist/{chunk-AKDWAWSY.cjs → chunk-3IHNXRUV.cjs} +45 -45
  16. package/dist/{chunk-VKF3PWKR.cjs → chunk-3OSXHLIT.cjs} +259 -28
  17. package/dist/{chunk-TVO6W2Q6.cjs → chunk-4NGVHHJB.cjs} +17 -17
  18. package/dist/chunk-4VU4CP7R.js +769 -0
  19. package/dist/chunk-6DM3PUQD.cjs +767 -0
  20. package/dist/{chunk-DBIVICAO.js → chunk-7CKPUUN4.js} +1 -1
  21. package/dist/{chunk-57JLBGJ5.cjs → chunk-7YBDRJXT.cjs} +8 -8
  22. package/dist/{chunk-KY3FYKP3.js → chunk-BQWGN5WH.js} +1 -1
  23. package/dist/{chunk-LEUZ4FRC.cjs → chunk-CIPIESX4.cjs} +3 -3
  24. package/dist/chunk-CJE5MOIS.js +347 -0
  25. package/dist/{chunk-5QBRAIVK.js → chunk-CX6JLDFC.js} +3 -3
  26. package/dist/{chunk-R3QY7PPL.js → chunk-DTSTNRPH.js} +1 -1
  27. package/dist/{chunk-6LUYFHHN.cjs → chunk-EQ46F75O.cjs} +51 -51
  28. package/dist/{chunk-UKCJ43YL.cjs → chunk-ES3UEVUT.cjs} +130 -898
  29. package/dist/{chunk-UM3RPYC5.js → chunk-EVPZ5IKN.js} +1 -1
  30. package/dist/{chunk-XNQ5EFB4.cjs → chunk-EY22AY6R.cjs} +16 -16
  31. package/dist/chunk-FKUKJ3XA.cjs +347 -0
  32. package/dist/{chunk-YABNLNY7.js → chunk-GLMP22FT.js} +3 -3
  33. package/dist/{chunk-SUF6WRXR.cjs → chunk-GTELFJRE.cjs} +2 -2
  34. package/dist/{chunk-72BGL3I2.js → chunk-GWV4T5NZ.js} +1 -1
  35. package/dist/{chunk-AY65VQSU.js → chunk-H3OEM3Q2.js} +1 -1
  36. package/dist/{chunk-4YWAEV4W.cjs → chunk-HDGBM7EA.cjs} +26 -26
  37. package/dist/{chunk-H5XX4KHB.js → chunk-HLOKB7WW.js} +5 -3
  38. package/dist/{chunk-WNAAWLZ5.js → chunk-KGTF55R3.js} +2 -2
  39. package/dist/{chunk-WPPJH6X4.cjs → chunk-LL3H5XUH.cjs} +6 -4
  40. package/dist/{chunk-4T44CJ5K.cjs → chunk-NA4UVVJ4.cjs} +15 -15
  41. package/dist/{chunk-Q6PA362P.js → chunk-NO5QQDHZ.js} +2 -2
  42. package/dist/{chunk-AA34BA7G.js → chunk-QYZGBVNC.js} +30 -798
  43. package/dist/chunk-S6X2QRVU.cjs +769 -0
  44. package/dist/{chunk-SSCL7QQ4.js → chunk-XDCFJEU7.js} +2 -2
  45. package/dist/{chunk-IQ6KKXOU.js → chunk-YN4AYYBJ.js} +243 -12
  46. package/dist/chunk-ZGOHKS3X.js +767 -0
  47. package/dist/color/index.cjs +6 -2
  48. package/dist/color/index.d.cts +1 -0
  49. package/dist/color/index.d.ts +1 -0
  50. package/dist/color/index.js +28 -24
  51. package/dist/color/suggest.d.cts +12 -0
  52. package/dist/color/suggest.d.ts +12 -0
  53. package/dist/effects/index.cjs +44 -771
  54. package/dist/effects/index.js +34 -761
  55. package/dist/effects/ui.d.cts +20 -3
  56. package/dist/effects/ui.d.ts +20 -3
  57. package/dist/export/index.cjs +6 -5
  58. package/dist/export/index.js +5 -4
  59. package/dist/extensions/index.cjs +9 -8
  60. package/dist/extensions/index.js +8 -7
  61. package/dist/gradient/index.cjs +28 -26
  62. package/dist/gradient/index.js +7 -5
  63. package/dist/image-editor/index.cjs +638 -637
  64. package/dist/image-editor/index.js +5 -4
  65. package/dist/index.cjs +15 -14
  66. package/dist/index.js +9 -8
  67. package/dist/paint-editor/index.cjs +17 -16
  68. package/dist/paint-editor/index.js +6 -5
  69. package/dist/typography/accessibility.d.cts +44 -0
  70. package/dist/typography/accessibility.d.ts +44 -0
  71. package/dist/typography/catalog.d.cts +98 -0
  72. package/dist/typography/catalog.d.ts +98 -0
  73. package/dist/typography/index.cjs +1099 -0
  74. package/dist/typography/index.d.cts +16 -0
  75. package/dist/typography/index.d.ts +16 -0
  76. package/dist/typography/index.js +1099 -0
  77. package/dist/typography/metrics.d.cts +31 -0
  78. package/dist/typography/metrics.d.ts +31 -0
  79. package/dist/typography/picker.d.cts +132 -0
  80. package/dist/typography/picker.d.ts +132 -0
  81. package/dist/typography/registry.d.cts +66 -0
  82. package/dist/typography/registry.d.ts +66 -0
  83. package/dist/typography/scale.d.cts +62 -0
  84. package/dist/typography/scale.d.ts +62 -0
  85. package/dist/typography/segment.d.cts +26 -0
  86. package/dist/typography/segment.d.ts +26 -0
  87. package/dist/typography/stack.d.cts +26 -0
  88. package/dist/typography/stack.d.ts +26 -0
  89. package/dist/typography/tools.d.cts +34 -0
  90. package/dist/typography/tools.d.ts +34 -0
  91. package/dist/typography/types.d.cts +96 -0
  92. package/dist/typography/types.d.ts +96 -0
  93. package/dist/typography/weight.d.cts +13 -0
  94. package/dist/typography/weight.d.ts +13 -0
  95. package/dist/vector/index.cjs +950 -949
  96. package/dist/vector/index.js +5 -4
  97. package/dist/video-editor/audio.d.cts +9 -0
  98. package/dist/video-editor/audio.d.ts +9 -0
  99. package/dist/video-editor/check.d.cts +1 -1
  100. package/dist/video-editor/check.d.ts +1 -1
  101. package/dist/video-editor/controller.d.cts +47 -0
  102. package/dist/video-editor/controller.d.ts +47 -0
  103. package/dist/video-editor/dialogue-tools.d.cts +19 -0
  104. package/dist/video-editor/dialogue-tools.d.ts +19 -0
  105. package/dist/video-editor/effect-authoring.d.cts +54 -0
  106. package/dist/video-editor/effect-authoring.d.ts +54 -0
  107. package/dist/video-editor/evaluate.d.cts +11 -0
  108. package/dist/video-editor/evaluate.d.ts +11 -0
  109. package/dist/video-editor/export.d.cts +7 -1
  110. package/dist/video-editor/export.d.ts +7 -1
  111. package/dist/video-editor/index.cjs +1857 -531
  112. package/dist/video-editor/index.d.cts +7 -0
  113. package/dist/video-editor/index.d.ts +7 -0
  114. package/dist/video-editor/index.js +1516 -190
  115. package/dist/video-editor/lut.d.cts +12 -2
  116. package/dist/video-editor/lut.d.ts +12 -2
  117. package/dist/video-editor/mask.d.cts +48 -0
  118. package/dist/video-editor/mask.d.ts +48 -0
  119. package/dist/video-editor/mix.d.cts +107 -0
  120. package/dist/video-editor/mix.d.ts +107 -0
  121. package/dist/video-editor/music-tools.d.cts +19 -0
  122. package/dist/video-editor/music-tools.d.ts +19 -0
  123. package/dist/video-editor/parse.d.cts +3 -1
  124. package/dist/video-editor/parse.d.ts +3 -1
  125. package/dist/video-editor/plan.d.cts +75 -0
  126. package/dist/video-editor/plan.d.ts +75 -0
  127. package/dist/video-editor/render.d.cts +1 -1
  128. package/dist/video-editor/render.d.ts +1 -1
  129. package/dist/video-editor/timeline.d.cts +2 -0
  130. package/dist/video-editor/timeline.d.ts +2 -0
  131. package/dist/video-editor/tools.d.cts +90 -0
  132. package/dist/video-editor/tools.d.ts +90 -0
  133. package/dist/video-editor/transcript-controller.d.cts +106 -0
  134. package/dist/video-editor/transcript-controller.d.ts +106 -0
  135. package/dist/video-editor/transcript.d.cts +40 -0
  136. package/dist/video-editor/transcript.d.ts +40 -0
  137. package/dist/video-editor/types.d.cts +62 -2
  138. package/dist/video-editor/types.d.ts +62 -2
  139. package/dist/video-editor/ui.d.cts +21 -1
  140. package/dist/video-editor/ui.d.ts +21 -1
  141. package/package.json +11 -1
  142. package/skills/README.md +3 -0
  143. package/skills/pixerate-bgm-alignment/SKILL.md +82 -0
  144. package/skills/pixerate-talking-head-edit/SKILL.md +80 -0
  145. package/skills/pixerate-typography/SKILL.md +91 -0
  146. package/skills/pixerate-video-editor/SKILL.md +40 -2
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Contrast checks that know the type: WCAG 2 large-text eligibility comes from the font's size and
3
+ * weight, so callers never have to decide whether text is "large".
4
+ */
5
+ import type { ContrastLevel } from '../color/types.cjs';
6
+ import type { FontWeight } from './types.cjs';
7
+ /** WCAG 2 large text: 18pt (24px) regular, or 14pt (18.67px) bold. */
8
+ export declare const LARGE_TEXT_PX = 24;
9
+ export declare const LARGE_BOLD_TEXT_PX: number;
10
+ /** Whether text counts as large for WCAG 2 contrast (size in CSS px). */
11
+ export declare function isLargeText(font: {
12
+ size: number;
13
+ weight?: FontWeight;
14
+ }): boolean;
15
+ export interface TypographyAccessibilityResult {
16
+ /** WCAG 2 contrast ratio, 1–21. */
17
+ ratio: number;
18
+ large: boolean;
19
+ level: ContrastLevel;
20
+ passesAA: boolean;
21
+ passesAAA: boolean;
22
+ /** Ratios this text needs: 4.5 / 7 for normal text, 3 / 4.5 for large text. */
23
+ required: {
24
+ AA: number;
25
+ AAA: number;
26
+ };
27
+ /** A foreground (hex) at the nearest OKLCH lightness that passes AA, when AA fails. */
28
+ suggestion?: string;
29
+ /** Smallest size in px that would count as large text at this weight. */
30
+ largeTextMinSize: number;
31
+ issues: string[];
32
+ }
33
+ /**
34
+ * Checks text colour against its background using the type's real size and weight: decides large
35
+ * text, reports the required ratios, and suggests a passing foreground when AA fails.
36
+ */
37
+ export declare function checkTypographyAccessibility(options: {
38
+ font: {
39
+ size: number;
40
+ weight?: FontWeight;
41
+ };
42
+ foreground: string;
43
+ background: string;
44
+ }): TypographyAccessibilityResult;
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Contrast checks that know the type: WCAG 2 large-text eligibility comes from the font's size and
3
+ * weight, so callers never have to decide whether text is "large".
4
+ */
5
+ import type { ContrastLevel } from '../color/types.js';
6
+ import type { FontWeight } from './types.js';
7
+ /** WCAG 2 large text: 18pt (24px) regular, or 14pt (18.67px) bold. */
8
+ export declare const LARGE_TEXT_PX = 24;
9
+ export declare const LARGE_BOLD_TEXT_PX: number;
10
+ /** Whether text counts as large for WCAG 2 contrast (size in CSS px). */
11
+ export declare function isLargeText(font: {
12
+ size: number;
13
+ weight?: FontWeight;
14
+ }): boolean;
15
+ export interface TypographyAccessibilityResult {
16
+ /** WCAG 2 contrast ratio, 1–21. */
17
+ ratio: number;
18
+ large: boolean;
19
+ level: ContrastLevel;
20
+ passesAA: boolean;
21
+ passesAAA: boolean;
22
+ /** Ratios this text needs: 4.5 / 7 for normal text, 3 / 4.5 for large text. */
23
+ required: {
24
+ AA: number;
25
+ AAA: number;
26
+ };
27
+ /** A foreground (hex) at the nearest OKLCH lightness that passes AA, when AA fails. */
28
+ suggestion?: string;
29
+ /** Smallest size in px that would count as large text at this weight. */
30
+ largeTextMinSize: number;
31
+ issues: string[];
32
+ }
33
+ /**
34
+ * Checks text colour against its background using the type's real size and weight: decides large
35
+ * text, reports the required ratios, and suggests a passing foreground when AA fails.
36
+ */
37
+ export declare function checkTypographyAccessibility(options: {
38
+ font: {
39
+ size: number;
40
+ weight?: FontWeight;
41
+ };
42
+ foreground: string;
43
+ background: string;
44
+ }): TypographyAccessibilityResult;
@@ -0,0 +1,98 @@
1
+ /**
2
+ * Font catalogs and the built-in providers: a metadata catalog of common system fonts (no font
3
+ * files), a system provider that can use the Local Font Access API when the host opts in, and a
4
+ * web font provider that loads faces through the CSS Font Loading API. Browser APIs are injectable
5
+ * so headless hosts and tests never touch the network.
6
+ */
7
+ import type { FontCategory, FontStyle, FontWeight } from './types.cjs';
8
+ import { type FontPlatform, type FontProvider, type FontSummary } from './registry.cjs';
9
+ /** Metadata for widely installed system fonts. No font files are bundled. */
10
+ export declare const SYSTEM_FONT_CATALOG: readonly FontSummary[];
11
+ /** Platforms the catalog covers. */
12
+ export declare const FONT_PLATFORMS: readonly FontPlatform[];
13
+ /** The catalog category of a family, or a guess from its name (`Mono`, `Code`, `Serif`, `Script`…). */
14
+ export declare function guessFontCategory(family: string): FontCategory;
15
+ /** An in-memory provider over a fixed list (a design system's families, a test fixture). */
16
+ export declare function createCatalogFontProvider(fonts: readonly FontSummary[], options?: {
17
+ id?: string;
18
+ }): FontProvider;
19
+ /** The Local Font Access API's entries (`queryLocalFonts()`), as far as this module reads them. */
20
+ export interface LocalFontDataLike {
21
+ family: string;
22
+ style?: string;
23
+ fullName?: string;
24
+ }
25
+ export interface SystemFontProviderOptions {
26
+ id?: string;
27
+ /** Catalog to offer (default {@link SYSTEM_FONT_CATALOG}). */
28
+ catalog?: readonly FontSummary[];
29
+ /** Offer only fonts that ship on this platform. */
30
+ platform?: FontPlatform;
31
+ /**
32
+ * Lists the fonts actually installed (the Local Font Access API, which asks the user for
33
+ * permission). Not called unless given: pass `() => window.queryLocalFonts()` to opt in.
34
+ */
35
+ queryLocalFonts?: () => Promise<readonly LocalFontDataLike[]>;
36
+ }
37
+ /**
38
+ * System fonts. Without `queryLocalFonts` it offers the catalog (filtered by `platform`): what is
39
+ * commonly installed, not what this machine has. With it, it offers what the machine reports,
40
+ * categorised from the catalog or by name.
41
+ *
42
+ * `hasFont` never uses `document.fonts.check()`: it answers `true` for families that are not
43
+ * installed at all (see GOTCHAS "[core/typography] `document.fonts.check()` …").
44
+ */
45
+ export declare function createSystemFontProvider(options?: SystemFontProviderOptions): FontProvider;
46
+ /** One file of a web font family. */
47
+ export interface WebFontSource {
48
+ /** URL of the font file (woff2 preferred). */
49
+ url: string;
50
+ /** Weight, or a `[min, max]` range for a variable font (default 400). */
51
+ weight?: FontWeight | [number, number];
52
+ /** Default `normal`. */
53
+ style?: FontStyle;
54
+ /** CSS `format()` hint, e.g. `woff2`. */
55
+ format?: string;
56
+ /** CSS `unicode-range` descriptor. */
57
+ unicodeRange?: string;
58
+ }
59
+ export interface WebFontDefinition {
60
+ family: string;
61
+ category: FontCategory;
62
+ sources: readonly WebFontSource[];
63
+ /** CSS `font-display` (default `swap`). */
64
+ display?: 'auto' | 'block' | 'swap' | 'fallback' | 'optional';
65
+ }
66
+ /** The parts of the CSS Font Loading API (`FontFace`, `document.fonts`) the web provider uses. */
67
+ export interface FontFaceLike {
68
+ load(): Promise<unknown>;
69
+ }
70
+ export interface FontFaceSetLike {
71
+ add(face: any): unknown;
72
+ }
73
+ export type CreateFontFace = (family: string, source: string, descriptors: {
74
+ weight: string;
75
+ style: string;
76
+ display: string;
77
+ unicodeRange?: string;
78
+ }) => FontFaceLike;
79
+ export interface WebFontProviderOptions {
80
+ id?: string;
81
+ fonts: readonly WebFontDefinition[];
82
+ /** Where loaded faces are added (default `document.fonts` when there is a document). */
83
+ fontFaceSet?: FontFaceSetLike;
84
+ /** Builds a face (default `new FontFace(...)` when the runtime has it). Inject a fake in tests: nothing then hits the network. */
85
+ createFontFace?: CreateFontFace;
86
+ }
87
+ /** `@font-face` rules for a definition, for server rendering or a stylesheet. */
88
+ export declare function fontFaceCss(def: WebFontDefinition): string;
89
+ /** The summary a definition lists as. */
90
+ export declare function webFontSummary(def: WebFontDefinition): FontSummary;
91
+ /**
92
+ * Web fonts loaded on demand through the CSS Font Loading API. `loadFont` picks the source that
93
+ * best matches the weight and style, adds the face to the font set and resolves when it is ready
94
+ * (`false` if it fails or there is no `FontFace` in this runtime). Loads are cached per face.
95
+ */
96
+ export declare function createWebFontProvider(options: WebFontProviderOptions): FontProvider & {
97
+ loaded(family: string, weight?: FontWeight, style?: FontStyle): boolean;
98
+ };
@@ -0,0 +1,98 @@
1
+ /**
2
+ * Font catalogs and the built-in providers: a metadata catalog of common system fonts (no font
3
+ * files), a system provider that can use the Local Font Access API when the host opts in, and a
4
+ * web font provider that loads faces through the CSS Font Loading API. Browser APIs are injectable
5
+ * so headless hosts and tests never touch the network.
6
+ */
7
+ import type { FontCategory, FontStyle, FontWeight } from './types.js';
8
+ import { type FontPlatform, type FontProvider, type FontSummary } from './registry.js';
9
+ /** Metadata for widely installed system fonts. No font files are bundled. */
10
+ export declare const SYSTEM_FONT_CATALOG: readonly FontSummary[];
11
+ /** Platforms the catalog covers. */
12
+ export declare const FONT_PLATFORMS: readonly FontPlatform[];
13
+ /** The catalog category of a family, or a guess from its name (`Mono`, `Code`, `Serif`, `Script`…). */
14
+ export declare function guessFontCategory(family: string): FontCategory;
15
+ /** An in-memory provider over a fixed list (a design system's families, a test fixture). */
16
+ export declare function createCatalogFontProvider(fonts: readonly FontSummary[], options?: {
17
+ id?: string;
18
+ }): FontProvider;
19
+ /** The Local Font Access API's entries (`queryLocalFonts()`), as far as this module reads them. */
20
+ export interface LocalFontDataLike {
21
+ family: string;
22
+ style?: string;
23
+ fullName?: string;
24
+ }
25
+ export interface SystemFontProviderOptions {
26
+ id?: string;
27
+ /** Catalog to offer (default {@link SYSTEM_FONT_CATALOG}). */
28
+ catalog?: readonly FontSummary[];
29
+ /** Offer only fonts that ship on this platform. */
30
+ platform?: FontPlatform;
31
+ /**
32
+ * Lists the fonts actually installed (the Local Font Access API, which asks the user for
33
+ * permission). Not called unless given: pass `() => window.queryLocalFonts()` to opt in.
34
+ */
35
+ queryLocalFonts?: () => Promise<readonly LocalFontDataLike[]>;
36
+ }
37
+ /**
38
+ * System fonts. Without `queryLocalFonts` it offers the catalog (filtered by `platform`): what is
39
+ * commonly installed, not what this machine has. With it, it offers what the machine reports,
40
+ * categorised from the catalog or by name.
41
+ *
42
+ * `hasFont` never uses `document.fonts.check()`: it answers `true` for families that are not
43
+ * installed at all (see GOTCHAS "[core/typography] `document.fonts.check()` …").
44
+ */
45
+ export declare function createSystemFontProvider(options?: SystemFontProviderOptions): FontProvider;
46
+ /** One file of a web font family. */
47
+ export interface WebFontSource {
48
+ /** URL of the font file (woff2 preferred). */
49
+ url: string;
50
+ /** Weight, or a `[min, max]` range for a variable font (default 400). */
51
+ weight?: FontWeight | [number, number];
52
+ /** Default `normal`. */
53
+ style?: FontStyle;
54
+ /** CSS `format()` hint, e.g. `woff2`. */
55
+ format?: string;
56
+ /** CSS `unicode-range` descriptor. */
57
+ unicodeRange?: string;
58
+ }
59
+ export interface WebFontDefinition {
60
+ family: string;
61
+ category: FontCategory;
62
+ sources: readonly WebFontSource[];
63
+ /** CSS `font-display` (default `swap`). */
64
+ display?: 'auto' | 'block' | 'swap' | 'fallback' | 'optional';
65
+ }
66
+ /** The parts of the CSS Font Loading API (`FontFace`, `document.fonts`) the web provider uses. */
67
+ export interface FontFaceLike {
68
+ load(): Promise<unknown>;
69
+ }
70
+ export interface FontFaceSetLike {
71
+ add(face: any): unknown;
72
+ }
73
+ export type CreateFontFace = (family: string, source: string, descriptors: {
74
+ weight: string;
75
+ style: string;
76
+ display: string;
77
+ unicodeRange?: string;
78
+ }) => FontFaceLike;
79
+ export interface WebFontProviderOptions {
80
+ id?: string;
81
+ fonts: readonly WebFontDefinition[];
82
+ /** Where loaded faces are added (default `document.fonts` when there is a document). */
83
+ fontFaceSet?: FontFaceSetLike;
84
+ /** Builds a face (default `new FontFace(...)` when the runtime has it). Inject a fake in tests: nothing then hits the network. */
85
+ createFontFace?: CreateFontFace;
86
+ }
87
+ /** `@font-face` rules for a definition, for server rendering or a stylesheet. */
88
+ export declare function fontFaceCss(def: WebFontDefinition): string;
89
+ /** The summary a definition lists as. */
90
+ export declare function webFontSummary(def: WebFontDefinition): FontSummary;
91
+ /**
92
+ * Web fonts loaded on demand through the CSS Font Loading API. `loadFont` picks the source that
93
+ * best matches the weight and style, adds the face to the font set and resolves when it is ready
94
+ * (`false` if it fails or there is no `FontFace` in this runtime). Loads are cached per face.
95
+ */
96
+ export declare function createWebFontProvider(options: WebFontProviderOptions): FontProvider & {
97
+ loaded(family: string, weight?: FontWeight, style?: FontStyle): boolean;
98
+ };