g-comments 0.1.0 → 0.2.1

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.
package/dist/index.cjs CHANGED
@@ -1,68 +1,68 @@
1
1
  'use strict';
2
2
 
3
- var chunkX6RAR374_cjs = require('./chunk-X6RAR374.cjs');
3
+ var chunkIBNNENCZ_cjs = require('./chunk-IBNNENCZ.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "CommentsError", {
8
8
  enumerable: true,
9
- get: function () { return chunkX6RAR374_cjs.CommentsError; }
9
+ get: function () { return chunkIBNNENCZ_cjs.CommentsError; }
10
10
  });
11
11
  Object.defineProperty(exports, "PACKAGE_NAME", {
12
12
  enumerable: true,
13
- get: function () { return chunkX6RAR374_cjs.PACKAGE_NAME; }
13
+ get: function () { return chunkIBNNENCZ_cjs.PACKAGE_NAME; }
14
14
  });
15
15
  Object.defineProperty(exports, "clientRegistry", {
16
16
  enumerable: true,
17
- get: function () { return chunkX6RAR374_cjs.clientRegistry; }
17
+ get: function () { return chunkIBNNENCZ_cjs.clientRegistry; }
18
18
  });
19
19
  Object.defineProperty(exports, "createClient", {
20
20
  enumerable: true,
21
- get: function () { return chunkX6RAR374_cjs.createClient; }
21
+ get: function () { return chunkIBNNENCZ_cjs.createClient; }
22
22
  });
23
23
  Object.defineProperty(exports, "createClientRegistry", {
24
24
  enumerable: true,
25
- get: function () { return chunkX6RAR374_cjs.createClientRegistry; }
25
+ get: function () { return chunkIBNNENCZ_cjs.createClientRegistry; }
26
26
  });
27
27
  Object.defineProperty(exports, "createComposerTimer", {
28
28
  enumerable: true,
29
- get: function () { return chunkX6RAR374_cjs.createComposerTimer; }
29
+ get: function () { return chunkIBNNENCZ_cjs.createComposerTimer; }
30
30
  });
31
31
  Object.defineProperty(exports, "createTranslator", {
32
32
  enumerable: true,
33
- get: function () { return chunkX6RAR374_cjs.createTranslator; }
33
+ get: function () { return chunkIBNNENCZ_cjs.createTranslator; }
34
34
  });
35
35
  Object.defineProperty(exports, "en", {
36
36
  enumerable: true,
37
- get: function () { return chunkX6RAR374_cjs.en; }
37
+ get: function () { return chunkIBNNENCZ_cjs.en; }
38
38
  });
39
39
  Object.defineProperty(exports, "encodeRef", {
40
40
  enumerable: true,
41
- get: function () { return chunkX6RAR374_cjs.encodeRef; }
41
+ get: function () { return chunkIBNNENCZ_cjs.encodeRef; }
42
42
  });
43
43
  Object.defineProperty(exports, "isCommentsError", {
44
44
  enumerable: true,
45
- get: function () { return chunkX6RAR374_cjs.isCommentsError; }
45
+ get: function () { return chunkIBNNENCZ_cjs.isCommentsError; }
46
46
  });
47
47
  Object.defineProperty(exports, "isVirtualThread", {
48
48
  enumerable: true,
49
- get: function () { return chunkX6RAR374_cjs.isVirtualThread; }
49
+ get: function () { return chunkIBNNENCZ_cjs.isVirtualThread; }
50
50
  });
51
51
  Object.defineProperty(exports, "locales", {
52
52
  enumerable: true,
53
- get: function () { return chunkX6RAR374_cjs.locales; }
53
+ get: function () { return chunkIBNNENCZ_cjs.locales; }
54
54
  });
55
55
  Object.defineProperty(exports, "memoryStorage", {
56
56
  enumerable: true,
57
- get: function () { return chunkX6RAR374_cjs.memoryStorage; }
57
+ get: function () { return chunkIBNNENCZ_cjs.memoryStorage; }
58
58
  });
59
59
  Object.defineProperty(exports, "ptBR", {
60
60
  enumerable: true,
61
- get: function () { return chunkX6RAR374_cjs.ptBR; }
61
+ get: function () { return chunkIBNNENCZ_cjs.ptBR; }
62
62
  });
63
63
  Object.defineProperty(exports, "resolveLocale", {
64
64
  enumerable: true,
65
- get: function () { return chunkX6RAR374_cjs.resolveLocale; }
65
+ get: function () { return chunkIBNNENCZ_cjs.resolveLocale; }
66
66
  });
67
67
  //# sourceMappingURL=index.cjs.map
68
68
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CreateClientOptions, a as CommentsClient, b as CountRef } from './messages-BlBkT6Kr.cjs';
2
- export { A as AnyThread, c as AuthProvider, d as AuthState, e as AuthStatus, B as BranchState, f as ChildrenPageResponse, g as Comment, h as CommentAuthor, i as CommentContext, j as CommentContextResponse, k as CommentLikes, l as CommentPermissions, m as CommentReplyTo, n as CommentResponse, o as Commenter, p as CommentsAuth, q as CommentsByIdsResponse, r as CommentsError, s as CommentsErrorType, t as ComposerTimer, u as ComposerTiming, v as Config, w as ConnectionMode, x as Counts, y as CountsResponse, z as CreateCommentResponse, E as ErrorResponse, D as ExchangeResponse, F as Features, G as FetchLike, H as FlagOptions, I as FlagType, J as ForumInfo, L as Limits, M as MentionsResponse, K as MessageKey, N as MessageValue, O as MessageVars, P as Messages, Q as OpenThreadOptions, R as Pending, S as PinsResponse, T as PluralMessage, U as PostOptions, V as PostResult, W as PreviewResponse, X as RawResponse, Y as RootsPageResponse, Z as SignInOptions, _ as Sort, $ as StorageLike, a0 as StoredAuth, a1 as SupportedLocale, a2 as Thread, a3 as ThreadCreation, a4 as ThreadEvent, a5 as ThreadHandle, a6 as ThreadResponse, a7 as ThreadSnapshot, a8 as ThreadStatus, a9 as Translator, aa as Upload, ab as UploadOptions, ac as VirtualThread, ad as createClient, ae as createComposerTimer, af as createTranslator, ag as en, ah as isCommentsError, ai as isVirtualThread, aj as locales, ak as memoryStorage, al as ptBR, am as resolveLocale } from './messages-BlBkT6Kr.cjs';
1
+ import { C as CreateClientOptions, a as CommentsClient, b as CountRef } from './messages-C9bMljl3.cjs';
2
+ export { A as AnyThread, c as AuthProvider, d as AuthState, e as AuthStatus, B as BranchState, f as ChildrenPageResponse, g as Comment, h as CommentAuthor, i as CommentContext, j as CommentContextResponse, k as CommentLikes, l as CommentPermissions, m as CommentReplyTo, n as CommentResponse, o as Commenter, p as CommentsAuth, q as CommentsByIdsResponse, r as CommentsError, s as CommentsErrorType, t as ComposerTimer, u as ComposerTiming, v as Config, w as ConnectionMode, x as Counts, y as CountsResponse, z as CreateCommentResponse, E as ErrorResponse, D as ExchangeResponse, F as Features, G as FetchLike, H as FlagOptions, I as FlagType, J as ForumColorScheme, K as ForumFont, L as ForumFontFace, M as ForumInfo, N as ForumTheme, O as Limits, P as MentionsResponse, Q as MessageKey, R as MessageValue, S as MessageVars, T as Messages, U as OpenThreadOptions, V as Pending, W as PinsResponse, X as PluralMessage, Y as PostOptions, Z as PostResult, _ as PreviewResponse, $ as RawResponse, a0 as RootsPageResponse, a1 as SignInOptions, a2 as Sort, a3 as StorageLike, a4 as StoredAuth, a5 as SupportedLocale, a6 as Thread, a7 as ThreadCreation, a8 as ThreadEvent, a9 as ThreadHandle, aa as ThreadResponse, ab as ThreadSnapshot, ac as ThreadStatus, ad as Translator, ae as Upload, af as UploadOptions, ag as VirtualThread, ah as createClient, ai as createComposerTimer, aj as createTranslator, ak as en, al as isCommentsError, am as isVirtualThread, an as locales, ao as memoryStorage, ap as ptBR, aq as resolveLocale } from './messages-C9bMljl3.cjs';
3
3
 
4
4
  /** The published package name. Renaming the package changes this line and package.json only. */
5
5
  declare const PACKAGE_NAME = "g-comments";
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CreateClientOptions, a as CommentsClient, b as CountRef } from './messages-BlBkT6Kr.js';
2
- export { A as AnyThread, c as AuthProvider, d as AuthState, e as AuthStatus, B as BranchState, f as ChildrenPageResponse, g as Comment, h as CommentAuthor, i as CommentContext, j as CommentContextResponse, k as CommentLikes, l as CommentPermissions, m as CommentReplyTo, n as CommentResponse, o as Commenter, p as CommentsAuth, q as CommentsByIdsResponse, r as CommentsError, s as CommentsErrorType, t as ComposerTimer, u as ComposerTiming, v as Config, w as ConnectionMode, x as Counts, y as CountsResponse, z as CreateCommentResponse, E as ErrorResponse, D as ExchangeResponse, F as Features, G as FetchLike, H as FlagOptions, I as FlagType, J as ForumInfo, L as Limits, M as MentionsResponse, K as MessageKey, N as MessageValue, O as MessageVars, P as Messages, Q as OpenThreadOptions, R as Pending, S as PinsResponse, T as PluralMessage, U as PostOptions, V as PostResult, W as PreviewResponse, X as RawResponse, Y as RootsPageResponse, Z as SignInOptions, _ as Sort, $ as StorageLike, a0 as StoredAuth, a1 as SupportedLocale, a2 as Thread, a3 as ThreadCreation, a4 as ThreadEvent, a5 as ThreadHandle, a6 as ThreadResponse, a7 as ThreadSnapshot, a8 as ThreadStatus, a9 as Translator, aa as Upload, ab as UploadOptions, ac as VirtualThread, ad as createClient, ae as createComposerTimer, af as createTranslator, ag as en, ah as isCommentsError, ai as isVirtualThread, aj as locales, ak as memoryStorage, al as ptBR, am as resolveLocale } from './messages-BlBkT6Kr.js';
1
+ import { C as CreateClientOptions, a as CommentsClient, b as CountRef } from './messages-C9bMljl3.js';
2
+ export { A as AnyThread, c as AuthProvider, d as AuthState, e as AuthStatus, B as BranchState, f as ChildrenPageResponse, g as Comment, h as CommentAuthor, i as CommentContext, j as CommentContextResponse, k as CommentLikes, l as CommentPermissions, m as CommentReplyTo, n as CommentResponse, o as Commenter, p as CommentsAuth, q as CommentsByIdsResponse, r as CommentsError, s as CommentsErrorType, t as ComposerTimer, u as ComposerTiming, v as Config, w as ConnectionMode, x as Counts, y as CountsResponse, z as CreateCommentResponse, E as ErrorResponse, D as ExchangeResponse, F as Features, G as FetchLike, H as FlagOptions, I as FlagType, J as ForumColorScheme, K as ForumFont, L as ForumFontFace, M as ForumInfo, N as ForumTheme, O as Limits, P as MentionsResponse, Q as MessageKey, R as MessageValue, S as MessageVars, T as Messages, U as OpenThreadOptions, V as Pending, W as PinsResponse, X as PluralMessage, Y as PostOptions, Z as PostResult, _ as PreviewResponse, $ as RawResponse, a0 as RootsPageResponse, a1 as SignInOptions, a2 as Sort, a3 as StorageLike, a4 as StoredAuth, a5 as SupportedLocale, a6 as Thread, a7 as ThreadCreation, a8 as ThreadEvent, a9 as ThreadHandle, aa as ThreadResponse, ab as ThreadSnapshot, ac as ThreadStatus, ad as Translator, ae as Upload, af as UploadOptions, ag as VirtualThread, ah as createClient, ai as createComposerTimer, aj as createTranslator, ak as en, al as isCommentsError, am as isVirtualThread, an as locales, ao as memoryStorage, ap as ptBR, aq as resolveLocale } from './messages-C9bMljl3.js';
3
3
 
4
4
  /** The published package name. Renaming the package changes this line and package.json only. */
5
5
  declare const PACKAGE_NAME = "g-comments";
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { CommentsError, PACKAGE_NAME, clientRegistry, createClient, createClientRegistry, createComposerTimer, createTranslator, en, encodeRef, isCommentsError, isVirtualThread, locales, memoryStorage, ptBR, resolveLocale } from './chunk-6E3M3PQN.js';
1
+ export { CommentsError, PACKAGE_NAME, clientRegistry, createClient, createClientRegistry, createComposerTimer, createTranslator, en, encodeRef, isCommentsError, isVirtualThread, locales, memoryStorage, ptBR, resolveLocale } from './chunk-WACVXJHD.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -241,6 +241,54 @@ interface ErrorResponse {
241
241
  extras?: Record<string, unknown>;
242
242
  degraded?: boolean;
243
243
  }
244
+ /** One palette of a theme (`ForumTheme#scheme_payload`). */
245
+ interface ForumColorScheme {
246
+ id: number;
247
+ name: string;
248
+ type: "light" | "dark";
249
+ /**
250
+ * Every custom property the forum's colour definitions emit, without the
251
+ * `--` prefix and with references already resolved: `primary`, `secondary`,
252
+ * `tertiary`, `primary-low`, `primary-medium`, `danger`, …
253
+ */
254
+ colors: Record<string, string>;
255
+ }
256
+ /** A `@font-face` source the forum serves. */
257
+ interface ForumFontFace {
258
+ family: string;
259
+ /** A CSS `src` value, e.g. `url("https://forum/fonts/x.woff2") format("woff2")`. */
260
+ src: string;
261
+ weight: number | string;
262
+ }
263
+ interface ForumFont {
264
+ key: string;
265
+ name: string;
266
+ /** A CSS `font-family` value. */
267
+ stack: string;
268
+ /** Empty for fonts the forum expects to be installed. */
269
+ faces: ForumFontFace[];
270
+ }
271
+ /** `GET /comments/theme`: the forum's look as data. */
272
+ interface ForumTheme {
273
+ theme: {
274
+ id: number;
275
+ name: string;
276
+ } | null;
277
+ schemes: {
278
+ light: ForumColorScheme;
279
+ /** Present when the theme has a dark palette. */
280
+ dark: ForumColorScheme | null;
281
+ };
282
+ fonts: {
283
+ body: ForumFont | null;
284
+ heading: ForumFont | null;
285
+ monospace: ForumFont | null;
286
+ };
287
+ /** The theme's "Embedded CSS" stylesheets, absolute URLs. */
288
+ stylesheets: string[];
289
+ /** Changes whenever any of the above changes. */
290
+ version: string;
291
+ }
244
292
 
245
293
  type CommentsErrorType = "invalid_key" | "not_logged_in" | "invalid_access" | "invalid_parameters" | "not_found" | "rate_limit" | "thread_conflict" | "page_not_allowed" | "invalid_url" | "no_category" | "thread_not_created" | "invalid_grant" | "user_not_allowed" | "submission_rejected" | "not_a_root_comment" | "pin_limit_reached" | "cancelled" | "storage_unavailable" | "unreachable" | "unknown";
246
294
  interface CommentsErrorOptions {
@@ -498,6 +546,8 @@ interface CommentsClient {
498
546
  };
499
547
  /** Cached; refetched after sign-in and sign-out. */
500
548
  config(): Promise<Config>;
549
+ /** The forum's palettes, fonts and theme stylesheets; cached for the client's lifetime. */
550
+ theme(): Promise<ForumTheme>;
501
551
  /** Batched per tick, at most 50 refs per request. Keys are encoded refs (see `encodeRef`). */
502
552
  counts(refs: readonly CountRef[]): Promise<Counts>;
503
553
  count(ref: CountRef): Promise<number>;
@@ -646,4 +696,4 @@ type Translator = (key: MessageKey, vars?: MessageVars) => string;
646
696
  declare function resolveLocale(locale: string | undefined): SupportedLocale;
647
697
  declare function createTranslator(locale?: string, overrides?: Partial<Messages>): Translator;
648
698
 
649
- export { type StorageLike as $, type AnyThread as A, type BranchState as B, type CreateClientOptions as C, type ExchangeResponse as D, type ErrorResponse as E, type Features as F, type FetchLike as G, type FlagOptions as H, type FlagType as I, type ForumInfo as J, type MessageKey as K, type Limits as L, type MentionsResponse as M, type MessageValue as N, type MessageVars as O, type Messages as P, type OpenThreadOptions as Q, type Pending as R, type PinsResponse as S, type PluralMessage as T, type PostOptions as U, type PostResult as V, type PreviewResponse as W, type RawResponse as X, type RootsPageResponse as Y, type SignInOptions as Z, type Sort as _, type CommentsClient as a, type StoredAuth as a0, type SupportedLocale as a1, type Thread as a2, type ThreadCreation as a3, type ThreadEvent as a4, type ThreadHandle as a5, type ThreadResponse as a6, type ThreadSnapshot as a7, type ThreadStatus as a8, type Translator as a9, type Upload as aa, type UploadOptions as ab, type VirtualThread as ac, createClient as ad, createComposerTimer as ae, createTranslator as af, en as ag, isCommentsError as ah, isVirtualThread as ai, locales as aj, memoryStorage as ak, ptBR as al, resolveLocale as am, type CountRef as b, type AuthProvider as c, type AuthState as d, type AuthStatus as e, type ChildrenPageResponse as f, type Comment as g, type CommentAuthor as h, type CommentContext as i, type CommentContextResponse as j, type CommentLikes as k, type CommentPermissions as l, type CommentReplyTo as m, type CommentResponse as n, type Commenter as o, type CommentsAuth as p, type CommentsByIdsResponse as q, CommentsError as r, type CommentsErrorType as s, type ComposerTimer as t, type ComposerTiming as u, type Config as v, type ConnectionMode as w, type Counts as x, type CountsResponse as y, type CreateCommentResponse as z };
699
+ export { type RawResponse as $, type AnyThread as A, type BranchState as B, type CreateClientOptions as C, type ExchangeResponse as D, type ErrorResponse as E, type Features as F, type FetchLike as G, type FlagOptions as H, type FlagType as I, type ForumColorScheme as J, type ForumFont as K, type ForumFontFace as L, type ForumInfo as M, type ForumTheme as N, type Limits as O, type MentionsResponse as P, type MessageKey as Q, type MessageValue as R, type MessageVars as S, type Messages as T, type OpenThreadOptions as U, type Pending as V, type PinsResponse as W, type PluralMessage as X, type PostOptions as Y, type PostResult as Z, type PreviewResponse as _, type CommentsClient as a, type RootsPageResponse as a0, type SignInOptions as a1, type Sort as a2, type StorageLike as a3, type StoredAuth as a4, type SupportedLocale as a5, type Thread as a6, type ThreadCreation as a7, type ThreadEvent as a8, type ThreadHandle as a9, type ThreadResponse as aa, type ThreadSnapshot as ab, type ThreadStatus as ac, type Translator as ad, type Upload as ae, type UploadOptions as af, type VirtualThread as ag, createClient as ah, createComposerTimer as ai, createTranslator as aj, en as ak, isCommentsError as al, isVirtualThread as am, locales as an, memoryStorage as ao, ptBR as ap, resolveLocale as aq, type CountRef as b, type AuthProvider as c, type AuthState as d, type AuthStatus as e, type ChildrenPageResponse as f, type Comment as g, type CommentAuthor as h, type CommentContext as i, type CommentContextResponse as j, type CommentLikes as k, type CommentPermissions as l, type CommentReplyTo as m, type CommentResponse as n, type Commenter as o, type CommentsAuth as p, type CommentsByIdsResponse as q, CommentsError as r, type CommentsErrorType as s, type ComposerTimer as t, type ComposerTiming as u, type Config as v, type ConnectionMode as w, type Counts as x, type CountsResponse as y, type CreateCommentResponse as z };
@@ -241,6 +241,54 @@ interface ErrorResponse {
241
241
  extras?: Record<string, unknown>;
242
242
  degraded?: boolean;
243
243
  }
244
+ /** One palette of a theme (`ForumTheme#scheme_payload`). */
245
+ interface ForumColorScheme {
246
+ id: number;
247
+ name: string;
248
+ type: "light" | "dark";
249
+ /**
250
+ * Every custom property the forum's colour definitions emit, without the
251
+ * `--` prefix and with references already resolved: `primary`, `secondary`,
252
+ * `tertiary`, `primary-low`, `primary-medium`, `danger`, …
253
+ */
254
+ colors: Record<string, string>;
255
+ }
256
+ /** A `@font-face` source the forum serves. */
257
+ interface ForumFontFace {
258
+ family: string;
259
+ /** A CSS `src` value, e.g. `url("https://forum/fonts/x.woff2") format("woff2")`. */
260
+ src: string;
261
+ weight: number | string;
262
+ }
263
+ interface ForumFont {
264
+ key: string;
265
+ name: string;
266
+ /** A CSS `font-family` value. */
267
+ stack: string;
268
+ /** Empty for fonts the forum expects to be installed. */
269
+ faces: ForumFontFace[];
270
+ }
271
+ /** `GET /comments/theme`: the forum's look as data. */
272
+ interface ForumTheme {
273
+ theme: {
274
+ id: number;
275
+ name: string;
276
+ } | null;
277
+ schemes: {
278
+ light: ForumColorScheme;
279
+ /** Present when the theme has a dark palette. */
280
+ dark: ForumColorScheme | null;
281
+ };
282
+ fonts: {
283
+ body: ForumFont | null;
284
+ heading: ForumFont | null;
285
+ monospace: ForumFont | null;
286
+ };
287
+ /** The theme's "Embedded CSS" stylesheets, absolute URLs. */
288
+ stylesheets: string[];
289
+ /** Changes whenever any of the above changes. */
290
+ version: string;
291
+ }
244
292
 
245
293
  type CommentsErrorType = "invalid_key" | "not_logged_in" | "invalid_access" | "invalid_parameters" | "not_found" | "rate_limit" | "thread_conflict" | "page_not_allowed" | "invalid_url" | "no_category" | "thread_not_created" | "invalid_grant" | "user_not_allowed" | "submission_rejected" | "not_a_root_comment" | "pin_limit_reached" | "cancelled" | "storage_unavailable" | "unreachable" | "unknown";
246
294
  interface CommentsErrorOptions {
@@ -498,6 +546,8 @@ interface CommentsClient {
498
546
  };
499
547
  /** Cached; refetched after sign-in and sign-out. */
500
548
  config(): Promise<Config>;
549
+ /** The forum's palettes, fonts and theme stylesheets; cached for the client's lifetime. */
550
+ theme(): Promise<ForumTheme>;
501
551
  /** Batched per tick, at most 50 refs per request. Keys are encoded refs (see `encodeRef`). */
502
552
  counts(refs: readonly CountRef[]): Promise<Counts>;
503
553
  count(ref: CountRef): Promise<number>;
@@ -646,4 +696,4 @@ type Translator = (key: MessageKey, vars?: MessageVars) => string;
646
696
  declare function resolveLocale(locale: string | undefined): SupportedLocale;
647
697
  declare function createTranslator(locale?: string, overrides?: Partial<Messages>): Translator;
648
698
 
649
- export { type StorageLike as $, type AnyThread as A, type BranchState as B, type CreateClientOptions as C, type ExchangeResponse as D, type ErrorResponse as E, type Features as F, type FetchLike as G, type FlagOptions as H, type FlagType as I, type ForumInfo as J, type MessageKey as K, type Limits as L, type MentionsResponse as M, type MessageValue as N, type MessageVars as O, type Messages as P, type OpenThreadOptions as Q, type Pending as R, type PinsResponse as S, type PluralMessage as T, type PostOptions as U, type PostResult as V, type PreviewResponse as W, type RawResponse as X, type RootsPageResponse as Y, type SignInOptions as Z, type Sort as _, type CommentsClient as a, type StoredAuth as a0, type SupportedLocale as a1, type Thread as a2, type ThreadCreation as a3, type ThreadEvent as a4, type ThreadHandle as a5, type ThreadResponse as a6, type ThreadSnapshot as a7, type ThreadStatus as a8, type Translator as a9, type Upload as aa, type UploadOptions as ab, type VirtualThread as ac, createClient as ad, createComposerTimer as ae, createTranslator as af, en as ag, isCommentsError as ah, isVirtualThread as ai, locales as aj, memoryStorage as ak, ptBR as al, resolveLocale as am, type CountRef as b, type AuthProvider as c, type AuthState as d, type AuthStatus as e, type ChildrenPageResponse as f, type Comment as g, type CommentAuthor as h, type CommentContext as i, type CommentContextResponse as j, type CommentLikes as k, type CommentPermissions as l, type CommentReplyTo as m, type CommentResponse as n, type Commenter as o, type CommentsAuth as p, type CommentsByIdsResponse as q, CommentsError as r, type CommentsErrorType as s, type ComposerTimer as t, type ComposerTiming as u, type Config as v, type ConnectionMode as w, type Counts as x, type CountsResponse as y, type CreateCommentResponse as z };
699
+ export { type RawResponse as $, type AnyThread as A, type BranchState as B, type CreateClientOptions as C, type ExchangeResponse as D, type ErrorResponse as E, type Features as F, type FetchLike as G, type FlagOptions as H, type FlagType as I, type ForumColorScheme as J, type ForumFont as K, type ForumFontFace as L, type ForumInfo as M, type ForumTheme as N, type Limits as O, type MentionsResponse as P, type MessageKey as Q, type MessageValue as R, type MessageVars as S, type Messages as T, type OpenThreadOptions as U, type Pending as V, type PinsResponse as W, type PluralMessage as X, type PostOptions as Y, type PostResult as Z, type PreviewResponse as _, type CommentsClient as a, type RootsPageResponse as a0, type SignInOptions as a1, type Sort as a2, type StorageLike as a3, type StoredAuth as a4, type SupportedLocale as a5, type Thread as a6, type ThreadCreation as a7, type ThreadEvent as a8, type ThreadHandle as a9, type ThreadResponse as aa, type ThreadSnapshot as ab, type ThreadStatus as ac, type Translator as ad, type Upload as ae, type UploadOptions as af, type VirtualThread as ag, createClient as ah, createComposerTimer as ai, createTranslator as aj, en as ak, isCommentsError as al, isVirtualThread as am, locales as an, memoryStorage as ao, ptBR as ap, resolveLocale as aq, type CountRef as b, type AuthProvider as c, type AuthState as d, type AuthStatus as e, type ChildrenPageResponse as f, type Comment as g, type CommentAuthor as h, type CommentContext as i, type CommentContextResponse as j, type CommentLikes as k, type CommentPermissions as l, type CommentReplyTo as m, type CommentResponse as n, type Commenter as o, type CommentsAuth as p, type CommentsByIdsResponse as q, CommentsError as r, type CommentsErrorType as s, type ComposerTimer as t, type ComposerTiming as u, type Config as v, type ConnectionMode as w, type Counts as x, type CountsResponse as y, type CreateCommentResponse as z };