import * as _angular_forms from '@angular/forms'; import { FormBuilder } from '@angular/forms'; import * as _ng_atomic_common_services_ui from '@ng-atomic/common/services/ui'; import * as _angular_core from '@angular/core'; import { Provider } from '@angular/core'; import * as _ng_atomic_core from '@ng-atomic/core'; import { InjectableComponent, NavActions, NgAtomicComponent } from '@ng-atomic/core'; import { QueryActionReducer } from '@xxmachina/components/pages/query'; import { ContextService } from '@xxmachina/components/services/context'; declare enum ActionId { SEND_MESSAGE = "send-message" } declare class ThreadPageStore extends InjectableComponent { static readonly DI: { provide: (typeOrComponent: Parameters<(typeOrFactory: _ng_atomic_core.TypeOrTypeFactory) => { provide: any; useValue: () => Promise<_angular_core.Type>; }>[0]) => (Provider | { provide: any; useValue: () => Promise<_angular_core.Type>; })[]; provideConfig: (useFactory?: _ng_atomic_common_services_ui.ReducerFactory<{ title: string; navStartActions: NavActions; }> | undefined, label?: string) => Provider; injectConfig: () => _angular_core.Signal<{ title: string; navStartActions: NavActions; }>; provideInitializer: Promise | void>(initializer: SI) => { provide: _angular_core.InjectionToken<(store: any) => Promise | void>; useValue: { key: new () => ThreadPageStore; initializer: (store: ThreadPageStore) => Promise | void; }; multi: boolean; }[]; initialize: (store: ThreadPageStore) => Promise; provideComponent: (typeOrFactory: _ng_atomic_core.TypeOrTypeFactory) => { provide: any; useValue: () => Promise<_angular_core.Type>; }; Initializer: { provide Promise | void>(initializer: SI): { provide: _angular_core.InjectionToken<(store: any) => Promise | void>; useValue: { key: new () => ThreadPageStore; initializer: (store: ThreadPageStore) => Promise | void; }; multi: boolean; }[]; inject(): ((store: ThreadPageStore) => Promise | void)[]; initializeStore(store: ThreadPageStore): Promise; }; Config: { provide(useFactory?: _ng_atomic_common_services_ui.ReducerFactory<{ title: string; navStartActions: NavActions; }> | undefined, label?: string): Provider; inject(): _angular_core.Signal<{ title: string; navStartActions: NavActions; }>; }; }; static provideEffects(): Provider[]; static provideNavigationEffects(): Provider[]; static provideNavStartActions(): Provider[]; readonly isRootPage: _angular_core.Signal; readonly config: _angular_core.Signal<{ title: string; navStartActions: NavActions; }>; readonly title: _angular_core.InputSignal; readonly navStartActions: _angular_core.InputSignal; readonly actions: _angular_core.WritableSignal<{ id: ActionId; name: string; icon: string; }[]>; protected readonly fb: FormBuilder; readonly form: _angular_forms.FormGroup<{ message: _angular_forms.FormControl; name: _angular_forms.FormControl; description: _angular_forms.FormControl; }>; readonly messages: _angular_core.InputSignal<{ role: string; content: string; }[]>; constructor(); static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class ThreadPage extends NgAtomicComponent { protected readonly store: ThreadPageStore; protected readonly reducer: QueryActionReducer; protected readonly context: ContextService; readonly isComposing: _angular_core.WritableSignal; onCompositionStart(event: Event): void; onCompositionEnd(event: Event): void; onKeydown(event: KeyboardEvent): void; protected _sendMessage(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { ThreadPage, ThreadPageStore }; //# sourceMappingURL=xxmachina-components-pages-thread.d.ts.map