/**
 * Custom query hook for getAllObjectsFromRoot
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { GetAllObjectsFromRootVariables } from '../../orm/query';
import type { ObjectConnection } from '../../orm/input-types';
export type { GetAllObjectsFromRootVariables } from '../../orm/query';
/** Query key factory - re-exported from query-keys.ts */
export declare const getAllObjectsFromRootQueryKey: (variables?: object) => readonly ["getAllObjectsFromRoot", object];
/**
 * Reads and enables pagination through a set of `Object`.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useGetAllObjectsFromRootQuery({ variables: { databaseId, id, first, offset, after } });
 *
 * if (data?.getAllObjectsFromRoot) {
 *   console.log(data.getAllObjectsFromRoot);
 * }
 * ```
 */
export declare function useGetAllObjectsFromRootQuery<TData = {
    getAllObjectsFromRoot: ObjectConnection | null;
}>(params?: {
    variables?: GetAllObjectsFromRootVariables;
} & Omit<UseQueryOptions<{
    getAllObjectsFromRoot: ObjectConnection | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch getAllObjectsFromRoot without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchGetAllObjectsFromRootQuery({ variables: { databaseId, id, first, offset, after } });
 * ```
 */
export declare function fetchGetAllObjectsFromRootQuery(params?: {
    variables?: GetAllObjectsFromRootVariables;
}): Promise<{
    getAllObjectsFromRoot: ObjectConnection | null;
}>;
/**
 * Prefetch getAllObjectsFromRoot for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchGetAllObjectsFromRootQuery(queryClient, { variables: { databaseId, id, first, offset, after } });
 * ```
 */
export declare function prefetchGetAllObjectsFromRootQuery(queryClient: QueryClient, params?: {
    variables?: GetAllObjectsFromRootVariables;
}): Promise<void>;
