import { ApiContextProps } from '../services/ApiContext'; import { CommonContexts, IProcessRequest, IRouterContext } from '../types'; export interface UuiServicesProps extends ApiContextProps { /** Function to get the api definitions. * Usually, api definitions this is an object which contain object with all api requests of the app. * Then you can call this requests via 'uuiContext.api.myApi(myData)' * */ apiDefinition?: (processRequest: IProcessRequest) => TApi; } export interface UseUuiServicesProps extends UuiServicesProps { /** AppContext value */ appContext?: TAppContext; /** Instance of the router */ router: IRouterContext; } export declare const useUuiServices: (props: UseUuiServicesProps) => { services: CommonContexts; }; //# sourceMappingURL=useUuiServices.d.ts.map