import type { IExecutionContext, IPreparedExecution } from "@gooddata/sdk-backend-spi"; import type { IGeoLayer } from "../../types/layers/index.js"; /** * Creates execution context from a geo layer. * * @remarks * The layer is stored directly as the execution context so that downstream * consumers can access layer properties (id, type, etc.) directly from * `execution.context`. * * @param layer - The geo layer to create context from * @returns Execution context containing the layer properties * * @internal */ export declare function createExecutionContextFromLayer(layer: IGeoLayer): IExecutionContext; /** * Type guard to ensure execution contains geo layer context. * * @remarks * Executions created by `buildLayerExecution` have layer metadata embedded * in their context. This guard verifies that the context contains the * expected layer properties. * * @param execution - The prepared execution to check * @returns `true` if the execution has valid geo layer context * * @internal */ export declare function hasGeoLayerContext(execution: IPreparedExecution): execution is IPreparedExecution & { context: IGeoLayer; }; //# sourceMappingURL=layerContext.d.ts.map