/** * This module provides utility functions for working with data blocks * in TypeScript. * * @since 0.0.6 */ import type { Op } from '@geoprotocol/grc-20'; type DataBlockSourceType = 'QUERY' | 'COLLECTION' | 'GEO'; type DataBlockParams = { fromId: string; sourceType: DataBlockSourceType; position?: string; name?: string; }; /** * Returns the ops to create an entity representing a Data Block. * * @example * ```ts * const ops = DataBlock.make({ * fromId: 'from-id', * sourceType: 'COLLECTION', * // optional * position: 'position-string', * name: 'name', * }); * ``` * * @param param args {@link TextBlockParams} * @returns ops – The ops for the Data Block entity: {@link Op}[] */ export declare function make({ fromId, sourceType, position, name }: DataBlockParams): Op[]; export {}; //# sourceMappingURL=data.d.ts.map