/**
 * Custom query hook for resolveBlueprintTable
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { ResolveBlueprintTableVariables } from '../../orm/query';
export type { ResolveBlueprintTableVariables } from '../../orm/query';
/** Query key factory - re-exported from query-keys.ts */
export declare const resolveBlueprintTableQueryKey: (variables?: object) => readonly ["resolveBlueprintTable", object];
/**
 * 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.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useResolveBlueprintTableQuery({ variables: { databaseId, tableName, schemaName, tableMap, defaultSchemaId } });
 *
 * if (data?.resolveBlueprintTable) {
 *   console.log(data.resolveBlueprintTable);
 * }
 * ```
 */
export declare function useResolveBlueprintTableQuery<TData = {
    resolveBlueprintTable: string | null;
}>(params?: {
    variables?: ResolveBlueprintTableVariables;
} & Omit<UseQueryOptions<{
    resolveBlueprintTable: string | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch resolveBlueprintTable without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchResolveBlueprintTableQuery({ variables: { databaseId, tableName, schemaName, tableMap, defaultSchemaId } });
 * ```
 */
export declare function fetchResolveBlueprintTableQuery(params?: {
    variables?: ResolveBlueprintTableVariables;
}): Promise<{
    resolveBlueprintTable: string | null;
}>;
/**
 * Prefetch resolveBlueprintTable for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchResolveBlueprintTableQuery(queryClient, { variables: { databaseId, tableName, schemaName, tableMap, defaultSchemaId } });
 * ```
 */
export declare function prefetchResolveBlueprintTableQuery(queryClient: QueryClient, params?: {
    variables?: ResolveBlueprintTableVariables;
}): Promise<void>;
