/**
 * Named stores — one per version-controlled tree (e.g. one graph, one definition set)
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { ListSelectionConfig } from '../selection';
import type { FunctionGraphStoreSelect, FunctionGraphStoreWithRelations, FunctionGraphStoreFilter, FunctionGraphStoreOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionGraphStoreSelect, FunctionGraphStoreWithRelations, FunctionGraphStoreFilter, FunctionGraphStoreOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const functionGraphStoresQueryKey: (variables?: object) => readonly ["functiongraphstore", "list", object];
/**
 * Named stores — one per version-controlled tree (e.g. one graph, one definition set)
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFunctionGraphStoresQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useFunctionGraphStoresQuery<S extends FunctionGraphStoreSelect, TData = {
    functionGraphStores: ConnectionResult<InferSelectResult<FunctionGraphStoreWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphStoreFilter, FunctionGraphStoreOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphStoreSelect>;
} & Omit<UseQueryOptions<{
    functionGraphStores: ConnectionResult<InferSelectResult<FunctionGraphStoreWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Named stores — one per version-controlled tree (e.g. one graph, one definition set)
 *
 * @example
 * ```ts
 * const data = await fetchFunctionGraphStoresQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchFunctionGraphStoresQuery<S extends FunctionGraphStoreSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphStoreFilter, FunctionGraphStoreOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphStoreSelect>;
}): Promise<{
    functionGraphStores: ConnectionResult<InferSelectResult<FunctionGraphStoreWithRelations, S>>;
}>;
/**
 * Named stores — one per version-controlled tree (e.g. one graph, one definition set)
 *
 * @example
 * ```ts
 * await prefetchFunctionGraphStoresQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchFunctionGraphStoresQuery<S extends FunctionGraphStoreSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphStoreFilter, FunctionGraphStoreOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphStoreSelect>;
}): Promise<void>;
