import type { CustomLayerInterface } from "../types/lib.js"; import type { LayerSpecification } from "../types/style-spec.js"; type OptionalId = T extends { id: string; } ? Omit & { id?: string; } : T; type OptionalSource = T extends { source: string; } ? Omit & { source?: string; } : T; export type LayerProps = (OptionalSource> | CustomLayerInterface) & { /** If set, the layer will be inserted before the specified layer */ beforeId?: string; }; export declare function Layer(props: LayerProps): any; export {}; //# sourceMappingURL=layer.d.ts.map