import { type UiKit as CoreUiKit, type UiKitInput as CoreUiKitInput, type SystemPrompt, type UiWrapper } from '@hashbrownai/core'; import type { ReactElement } from 'react'; import { ExposedComponent } from '../expose-component.fn'; /** * Public UiKit input type for React. * * @public */ export type UiKitInput> = CoreUiKitInput; /** * Options for the `useUiKit` hook. * * @public */ export interface UiKitOptions> { /** * Components or other UiKit instances to compose. */ components: readonly UiKitInput[]; /** * Optional prompt-based UI examples to include in the wrapper schema description. */ examples?: SystemPrompt; } /** * UIKit instance for React rendering. * * @public */ export type UiKit> = CoreUiKit & { /** * Render a resolved UI wrapper object into React elements. */ render: (value: UiWrapper) => ReactElement[]; }; /** * Creates a UIKit instance for rendering resolved UI wrapper objects. * * @public */ export declare function useUiKit>(options: UiKitOptions): UiKit; //# sourceMappingURL=use-ui-kit.d.ts.map