/**
 * Custom query operations
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import { OrmClient } from '../client';
import { QueryBuilder } from '../query-builder';
/**
 * Variables for resolveBlueprintField
 * Resolves a field_name within a given table_id to a field_id. Throws if no match is found. Used by construct_blueprint to translate user-authored field names (e.g. "location") into field UUIDs for downstream provisioning procedures. table_id must already be resolved (via resolve_blueprint_table) before calling this.
 */
export interface ResolveBlueprintFieldVariables {
    databaseId?: string;
    tableId?: string;
    fieldName?: string;
}
/**
 * Variables for resolveBlueprintTable
 * Resolves a table_name (with optional schema_name) to a table_id. Resolution order: (1) if schema_name provided, exact lookup via metaschema_public.schema.name + metaschema_public.table; (2) check local table_map (tables created in current blueprint); (3) search metaschema_public.table by name across all schemas; (4) if multiple matches, throw ambiguous error asking for schema_name; (5) if no match, throw not-found error.
 */
export interface ResolveBlueprintTableVariables {
    databaseId?: string;
    tableName?: string;
    schemaName?: string;
    tableMap?: unknown;
    defaultSchemaId?: string;
}
export declare function createQueryOperations(client: OrmClient): {
    resolveBlueprintField: (args: ResolveBlueprintFieldVariables, options?: {
        select?: Record<string, unknown>;
    }) => QueryBuilder<{
        resolveBlueprintField: string | null;
    }>;
    resolveBlueprintTable: (args: ResolveBlueprintTableVariables, options?: {
        select?: Record<string, unknown>;
    }) => QueryBuilder<{
        resolveBlueprintTable: string | null;
    }>;
};
