import { LimeWebComponent, LimeWebComponentPlatform } from '../core'; /** * Resolve the ambient {@link LimeWebComponentPlatform} for a component. * * Checks `component.platform` first so prop-drilled consumers keep * working unchanged. Otherwise dispatches a W3C `context-request` event * from the component's host element so the runtime's top-level provider * answers with the platform instance. * * Use this from decorators or other infrastructure instead of reading * `this.platform` directly, so the same code works for both prop-drilled * and ambient consumers. * * @param component - The component to resolve the platform for. * @returns The platform instance. * @throws If neither the prop nor an ambient provider answers. * * @internal */ export declare function resolvePlatform(component: LimeWebComponent): LimeWebComponentPlatform;