import type { Flavour } from '../models.js'; import type { BlockServiceInstanceByKey } from '../services.js'; import { BaseService } from './service/index.js'; export declare function hasService(flavour: string): boolean; export declare function registerService(flavour: string, Constructor: { new (): BaseService; }): Promise | void; /** * @internal */ export declare function getService(flavour: Key): BlockServiceInstanceByKey; export declare function getService(flavour: string): BaseService; export declare function getServiceOrRegister(flavour: Key): BlockServiceInstanceByKey | Promise>; export declare function getServiceOrRegister(flavour: string): BaseService | Promise; //# sourceMappingURL=service.d.ts.map