import GenerativeAiService from '../classes/generative-ai-service'; import type { StoreConfig, Action, ThunkArgs } from '../../utils/store-types'; import type { ServiceResource, AvailableServicesArgs } from '../types'; export declare enum ActionType { Unknown = "REDUX_UNKNOWN", ReceiveServices = "RECEIVE_SERVICES" } type UnknownAction = Action; type ReceiveServicesAction = Action; export type CombinedAction = UnknownAction | ReceiveServicesAction; export type State = { services: Record | undefined; serviceSlugs: string[] | undefined; }; export type ActionCreators = typeof actions; export type Selectors = typeof selectors; type DispatcherArgs = ThunkArgs; declare const actions: { /** * Receives services from the server. * * @since 0.1.0 * * @param services - Services received from the server, as key value pairs. * @returns Action creator. */ receiveServices(services: ServiceResource[]): ({ dispatch }: DispatcherArgs) => void; }; declare const selectors: { getServices: (state: State) => Record | undefined; isServiceRegistered: { (_state: State, slug: string): boolean | undefined; isRegistrySelector?: boolean; registry?: any; }; isServiceAvailable: { (_state: State, slug: string): boolean | undefined; isRegistrySelector?: boolean; registry?: any; }; hasAvailableServices: { (_state: State, args?: AvailableServicesArgs | undefined): boolean | undefined; isRegistrySelector?: boolean; registry?: any; }; getAvailableService: { (_state: State, args?: string | AvailableServicesArgs | undefined): GenerativeAiService | null | undefined; isRegistrySelector?: boolean; registry?: any; }; getServiceMetadata: { (_state: State, slug: string): import("../types").ServiceMetadata | null | undefined; isRegistrySelector?: boolean; registry?: any; }; getRegisteredServiceSlugs: { (state: State): string[] | undefined; isRegistrySelector?: boolean; registry?: any; }; }; declare const storeConfig: StoreConfig; export default storeConfig; //# sourceMappingURL=services.d.ts.map