helper.d.ts 978 B

12345678910111213141516171819202122232425262728
  1. import { Primitive } from '../../runtime';
  2. export declare function column(value: Primitive[], field?: string): {
  3. type: string;
  4. value: Primitive[];
  5. field: string;
  6. };
  7. export declare function inferredColumn(value: Primitive[], field?: string): {
  8. inferred: boolean;
  9. type: string;
  10. value: Primitive[];
  11. field: string;
  12. };
  13. export declare function visualColumn(value: Primitive[], field?: string): {
  14. type: string;
  15. value: Primitive[];
  16. field: string;
  17. visual: boolean;
  18. };
  19. export declare function nonConstantColumn(value: Primitive[], field?: string): {
  20. constant: boolean;
  21. type: string;
  22. value: Primitive[];
  23. field: string;
  24. };
  25. export declare function constant(I: number[], value: any): any[];
  26. export declare function columnOf(encode: any, key: string): [Primitive[], string];
  27. export declare function maybeColumnOf(encode: any, ...K: (string | Primitive[])[]): [Primitive[], string];
  28. export declare function isObject(d: any): boolean;