starchild-widget
Version:
Starchild Widget
21 lines • 2.56 kB
TypeScript
/**
* StarChild Widget type definition entry file
* Unified export of all type definitions, providing complete type support for users
*/
export type { Position, Size, Rect, EventCallback, ErrorCallback, PositionCallback, VoidCallback, DockEdgeCallback, BaseConfig, AppError, } from './common';
export { LoadingState, ThemeMode, Locale } from './common';
export type { ColorPalette, ShadowSystem, BorderRadiusSystem, ZIndexSystem, Theme, CustomTheme, ThemeConfig, CSSVariables, ThemeSwitcher, } from './theme';
export type { I18nMessages, TranslationParams, TranslationFunction, I18nContext, LanguagePack, I18nConfig, MessageKey, Formatters, } from './i18n';
export type { DraggableButtonProps, ShadowRootProps, WidgetState, WidgetEvents, ComponentLifecycle, ComponentStateManager, AiWidgetProps, ChatProps, SearchProps, ThemeProviderProps, WidgetBridgeProps, } from './components';
export { RenderMode } from './components';
export type { ChatState, SearchState, CommonState, Environment, AuthState, AuthAction, AuthCredentials, RootState, RootAction, WidgetContextType, } from './store';
export { AuthActionType, RootActionType } from './store';
export type { ApiConfig, RequestOptions, ApiResponse } from './api';
export { ApiError } from './api';
export type { WidgetConfig, WidgetInstance, WidgetConstructor, WidgetGlobalAPI, WidgetInternalState, WidgetAction, WidgetContext, WidgetActions, WidgetSelectors, ComponentConfig, ComponentPositions, ComponentState, } from './widget';
export { ComponentType } from './widget';
export type { DeepPartial, DeepReadonly, NonUndefined, ValueOf, UnwrapPromise, ArgumentTypes, Optional, Brand, ArrayElement, UnionToIntersection, ObjectKeys, ObjectValues, NestedKeyOf, IsEmptyObject, StrictExclude, StrictExtract, } from './utils';
export type { StateUpdater, StateTuple, RefObject, EffectCleanup, EffectCallback, AsyncState, AsyncActions, UseAsyncReturn, UseLocalStorageOptions, UseDebounceOptions, UseThrottleOptions, UseIntervalOptions, UseEventListenerOptions, UseMediaQueryReturn, UseNetworkReturn, UseGeolocationOptions, UseGeolocationReturn, UseKeyboardOptions, UseMousePositionReturn, UseWindowSizeReturn, UseScrollPositionReturn, UseClipboardReturn, UseFieldReturn, ValidationRule, UseFieldOptions, UsePaginationReturn, UseSearchReturn, SortDirection, UseSortReturn, } from './hooks';
export type { WidgetConfig as SDKConfig } from './widget';
export type { WidgetInstance as StarChildWidgetInstance, WidgetConstructor as StarChildWidgetConstructor, } from './widget';
//# sourceMappingURL=index.d.ts.map