import { AstroRuntime, ComponentLoader } from '@casoon/fragment-renderer'; import { GridProps, FormProps, ModalProps, DatePickerProps, UIFrameworkOptions } from '../types/index.js'; interface UIFramework { runtime: AstroRuntime; registerComponents(loaders: Record): void; renderGrid(props: GridProps): Promise; renderForm(props: FormProps): Promise; renderModal(props: ModalProps, content: string): Promise; renderDatePicker(props: DatePickerProps): Promise; renderComponent(componentId: string, props: Record): Promise; getThemeStylesheet(): string; setTheme(theme: string): void; setLocale(locale: string): void; } declare function createUIFramework(options?: UIFrameworkOptions): UIFramework; export { type UIFramework, createUIFramework };