import { ServicePool } from './pools/services'; import { SourcePool } from './pools/sources'; import { MapService } from './services/map'; import { ICRS } from './types'; export interface IInternalKriteOptions { crs: ICRS; fetch: (input: RequestInfo, init?: RequestInit) => Promise; } export interface IKriteOptions { crs: ICRS; fetch?: (input: RequestInfo, init?: RequestInit) => Promise; } export declare class Krite { service: ServicePool; source: SourcePool; options: IInternalKriteOptions; constructor(options?: IKriteOptions); get crs(): ICRS; get addServices(): (services: { [index: string]: import("./types").IService; }) => void; get addService(): (name: string, service: T) => T; get getService(): (name: string) => T; get tryService(): (name: string) => T | undefined; get promiseService(): (name: string) => Promise; get hasService(): (name: string) => boolean; get addSources(): (sources: { [index: string]: import("./types").IDataSource; }) => void; get addSource(): (name: string, source: T) => T; get getSource(): (name: string) => T; get trySource(): (name: string) => T | undefined; get promiseSource(): (name: string) => Promise; get hasSource(): (name: string) => boolean; get map(): MapService; } export default Krite;