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