UNPKG

map-transform-cjs

Version:
17 lines (14 loc) 462 B
import { TransformDefinition, TransformerProps, Path, AsyncTransformer } from '../types.js'; interface Bucket { key: string; size?: number; condition?: TransformDefinition; pipeline?: TransformDefinition; } interface Props extends TransformerProps { path?: Path; buckets?: Bucket[]; groupByPath?: TransformDefinition; } declare const transformer: AsyncTransformer<Props>; export { type Bucket, type Props, transformer as default };