/** * TanStack Query `queryOptions` factories for Schema Builder reads. Per §3.7 * of the master plan, these keep the query-key canonical across the package * and its consumers — invalidation goes through `.queryKey` not stringly- * typed arrays. */ import { type LooseSupabaseClient } from '../service.js'; import type { AppScope } from '../types.js'; export declare const schemaEntitiesOptions: (client: LooseSupabaseClient, tenantId: string | null, appScope?: AppScope) => import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction | undefined; } & import("@tanstack/react-query").QueryKeyWithDataTag; export declare const schemaRelationsOptions: (client: LooseSupabaseClient, tenantId: string | null, appScope?: AppScope) => import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction | undefined; } & import("@tanstack/react-query").QueryKeyWithDataTag; /** * Options for fetching the fields of a single entity. Used by the entity * properties panel to lazy-load field rows when the user opens one entity. */ export declare const entityFieldsOptions: (client: LooseSupabaseClient, entityId: string | null) => import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction | undefined; } & import("@tanstack/react-query").QueryKeyWithDataTag; /** * Options for fetching every active field in a tenant in one shot. Used by * `useSchemaController` so EntityNode can render field rows for every entity * on the canvas without N+1 requests. */ export declare const tenantFieldsOptions: (client: LooseSupabaseClient, tenantId: string | null) => import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction | undefined; } & import("@tanstack/react-query").QueryKeyWithDataTag; /** * Canvas layout overlay for a tenant. Separate from `schemaEntitiesOptions` * because the entities are platform-owned and shared across tenants, while the * arrangement is per-tenant (and optionally per-user) — see the header comment * on `getSchemaLayout` for why positions cannot live on the entity row. */ export declare const schemaLayoutOptions: (client: LooseSupabaseClient, tenantId: string | null, appScope?: AppScope) => import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction | undefined; } & import("@tanstack/react-query").QueryKeyWithDataTag; //# sourceMappingURL=queries.d.ts.map