import type { EntityDescriptor, SchemaDescriptor } from './types'; export type BuiltQuery = { query: string; variables: Record; operationName: string; }; export declare function buildListQuery(entityName: string, entityDef: EntityDescriptor, schema: SchemaDescriptor, select: Record, hasWhere: boolean, hasOrderBy: boolean, hasLimit: boolean, hasOffset: boolean): BuiltQuery; export declare function buildSingleQuery(entityName: string, entityDef: EntityDescriptor, schema: SchemaDescriptor, select: Record, hasWhere: boolean, hasOrderBy: boolean, hasOffset: boolean): BuiltQuery; export declare function buildCountQuery(entityName: string, entityDef: EntityDescriptor, hasWhere: boolean): BuiltQuery; export declare function buildInsertMutation(entityName: string, entityDef: EntityDescriptor, schema: SchemaDescriptor, returning: Record | undefined, isSingle: boolean): BuiltQuery; export declare function buildUpdateMutation(entityName: string, entityDef: EntityDescriptor, schema: SchemaDescriptor, returning: Record | undefined, hasWhere: boolean): BuiltQuery; export declare function buildDeleteMutation(entityName: string, entityDef: EntityDescriptor, schema: SchemaDescriptor, returning: Record | undefined, hasWhere: boolean): BuiltQuery;