import type { Build } from "graphile-build"; import { PgAttribute, PgClass, SQL } from "graphile-build-pg"; interface ParseSpecResult { dynamicAttributeTable: PgClass; referencedAttributes: PgAttribute[]; referencingAttributes: PgAttribute[]; keyAttributes: PgAttribute[]; valueColumn: PgAttribute; } export declare function parseSpec(build: Build, table: PgClass): ParseSpecResult | null; export declare function subquery(build: Build, spec: ParseSpecResult, alias: SQL, value: { [key: string]: any; }): any; export {};