import { type GeoCollectionKind, type IAttributeDescriptor } from "@gooddata/sdk-model"; import { type DataViewFacade } from "@gooddata/sdk-ui"; /** * Metadata describing a geo collection binding for an attribute. * * @internal */ export interface IGeoCollectionMetadata { /** * Identifier of the geo collection to query. */ collectionId: string; /** * Kind of geo collection - STATIC (default) or CUSTOM. * STATIC collections are built-in, CUSTOM collections are organization-scoped. */ kind?: GeoCollectionKind; } /** * Attempts to extract geo collection metadata from an attribute descriptor. * * @internal */ export declare function resolveGeoCollectionMetadata(descriptor: IAttributeDescriptor | undefined): IGeoCollectionMetadata | undefined; /** * Resolves geo collection metadata for the area location attribute. * * @remarks * Area executions always expose the location attribute as the first attribute descriptor. * If the metadata is absent, the function returns undefined. * * @param dataView - Data view facade containing the execution result metadata * @returns geo collection metadata or undefined when not available * * @internal */ export declare function getLocationCollectionMetadata(dataView: DataViewFacade | null): IGeoCollectionMetadata | undefined; //# sourceMappingURL=geoCollection.d.ts.map