import { type IBucket, type IFilter, type IInsightDefinition, type INullableFilter, type ISortItem } from "@gooddata/sdk-model"; /** * Creates a synthetic insight used to execute an individual geo layer. * * @internal */ export declare function createLayerInsight(params: { buckets: IBucket[]; layerName?: string; filters?: INullableFilter[]; sortBy?: ISortItem[]; }): IInsightDefinition; /** * Removes null/undefined filters before storing them in an insight definition. * * @internal */ export declare function sanitizeLayerFilters(filters?: INullableFilter[]): IFilter[]; /** * Removes null/undefined filters while preserving the nullable type expected by execution factories. * * @internal */ export declare function sanitizeGlobalFilters(filters?: INullableFilter[]): INullableFilter[]; /** * Removes global filters that are exact duplicates of layer filters. * * @remarks * Layer filters are part of the synthetic layer insight; global filters are passed separately * to `forInsight(...)`. Exact duplicates in both arrays would otherwise be concatenated by * generic filter merge logic and cause avoidable execution fingerprint drift. * * @internal */ export declare function sanitizeDeduplicatedGlobalFilters(layerFilters?: INullableFilter[], globalFilters?: INullableFilter[]): INullableFilter[]; //# sourceMappingURL=layerInsightFactory.d.ts.map