import { Service, Type } from './metadata'; /** * Provides access to the workbench application platform. */ export declare const Platform: { /** * Returns the service with the given symbol, or throws an error if not found. */ getService(type: Type): T; /** * Registers a service. * * If no lookup symbol is given, the service is registered under its constructor symbol. */ register(service: Service, symbol?: Type): void; /** * Returns true if running standalone, or false if running inside the workbench application platform. */ isRunningStandalone(): boolean; /** * Destroys this platform and releases resources allocated. */ destroy(): void; };