import { ZetaPushContext } from '@zetapush/core'; import { ResolvedConfig } from '../common-types'; import { LocalServerRegistry, ServerInfo } from '../utils/server-registry'; export declare const defaultLocalUrlProvider: (info: ServerInfo) => string; export declare class LocalServerRegistryZetaPushContext implements ZetaPushContext { private config; private registry; private urlProvider; constructor(config: ResolvedConfig, registry: LocalServerRegistry, urlProvider?: (info: ServerInfo) => string); getAppName(): string; getPlatformUrl(): string; getFrontUrl(name?: string | undefined): string | null; getWorkerUrl(name?: string | undefined, zetapushInternalServer?: boolean): string | null; getLocalZetaPushHttpPort(): number | null; private getUrl; private getDefault; private getBestUrl; }