import { YMapEntity } from '../YMapEnities'; /** * YMapFeatureDataSource props */ type YMapFeatureDataSourceProps = { /** Data source id */ id: string; /** Whether to optimize this source for frequent data updates */ dynamic?: boolean; }; declare const defaultProps: Readonly<{ dynamic: true; }>; type DefaultProps = typeof defaultProps; /** * Map geojson data source. Used to upload objects to the map in geojson format * * @example * ```javascript * const ID = 'id'; * const dataSource = new YMapFeatureDataSource({id: ID}); * const layer = new YMapLayer({source: ID, type: 'features', zIndex: 10}); * map * .addChild(dataSource) * .addChild(layer); * ``` */ declare class YMapFeatureDataSource extends YMapEntity { static defaultProps: Readonly<{ dynamic: true; }>; protected _onAttach(): void; protected _onDetach(): void; protected _onUpdate(): void; } export { YMapFeatureDataSource, YMapFeatureDataSourceProps };