import { TileJSON } from '@loaders.gl/mvt';
import { PMTilesMetadata } from '@loaders.gl/pmtiles';
import { RemoteTileFormat } from '@kepler.gl/constants';
import { VectorTileMetadata } from '@kepler.gl/table';
type FetchVectorTileMetadataProps = {
    metadataUrl: string | null;
    tilesetUrl: string | null;
    remoteTileFormat: RemoteTileFormat;
    process?: (json: PMTilesMetadata | TileJSON) => VectorTileMetadata | Error | null;
};
type FetchVectorTileMetadataReturn = {
    data: VectorTileMetadata | null;
    loading: boolean;
    error: Error | null;
};
/** Hook to fetch and return mvt or pmtiles metadata. */
export default function useFetchVectorTileMetadata({ remoteTileFormat, tilesetUrl, metadataUrl, process }: FetchVectorTileMetadataProps): FetchVectorTileMetadataReturn;
export {};
