/** * @copyright Sister Software. * @license AGPL-3.0 * @author Teffen Ellis, et al. */ import type { GeometryLiteral } from "@mailwoman/spatial"; import type { FIPSStateCode, FIPSBlockGeoID, FIPSTractCode, TIGERBlockFeature, TIGERBlockFeatureCollection, TIGERTabulatedBlockProperties } from "#index"; export interface StateBlockIntersectionCriteria { stateCode: FIPSStateCode; geometry: GeometryLiteral; tractCodes?: FIPSTractCode[]; } /** * @internal */ export interface TIGERBlockRow extends TIGERTabulatedBlockProperties { GEOID: FIPSBlockGeoID; /** * @format hex */ serializedGeometry: string; } /** * Given a row from the TIGER tabulated block table, parses it into a GeoJSON feature. * * @internal */ export declare function parseTIGERBlockFromRow({ serializedGeometry, ...properties }: TIGERBlockRow): TIGERBlockFeature; /** * Given a collection of rows from the TIGER tabulated block table, parses them into a GeoJSON feature collection. * * @internal */ export declare function parseTIGERBlockFeatureCollectionFromRows(rows: TIGERBlockRow[]): TIGERBlockFeatureCollection; //# sourceMappingURL=block-operations.d.ts.map