/**
 * Custom query hook for getObjectAtPath
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { GetObjectAtPathVariables } from '../../orm/query';
import type { ObjectSelect, Object } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { GetObjectAtPathVariables } from '../../orm/query';
export type { ObjectSelect } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const getObjectAtPathQueryKey: (variables?: object) => readonly ["getObjectAtPath", object];
/**
 * Query hook for getObjectAtPath
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useGetObjectAtPathQuery({ variables: { dbId, storeId, path, refname }, selection: { fields: { id: true } } });
 *
 * if (data?.getObjectAtPath) {
 *   console.log(data.getObjectAtPath);
 * }
 * ```
 */
export declare function useGetObjectAtPathQuery<S extends ObjectSelect, TData = {
    getObjectAtPath: InferSelectResult<Object, S> | null;
}>(params: {
    variables?: GetObjectAtPathVariables;
    selection: {
        fields: S & ObjectSelect;
    } & HookStrictSelect<NoInfer<S>, ObjectSelect>;
} & Omit<UseQueryOptions<{
    getObjectAtPath: InferSelectResult<Object, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch getObjectAtPath without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchGetObjectAtPathQuery({ variables: { dbId, storeId, path, refname }, selection: { fields: { id: true } } });
 * ```
 */
export declare function fetchGetObjectAtPathQuery<S extends ObjectSelect>(params: {
    variables?: GetObjectAtPathVariables;
    selection: {
        fields: S & ObjectSelect;
    } & HookStrictSelect<NoInfer<S>, ObjectSelect>;
}): Promise<{
    getObjectAtPath: InferSelectResult<Object, S> | null;
}>;
/**
 * Prefetch getObjectAtPath for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchGetObjectAtPathQuery(queryClient, { variables: { dbId, storeId, path, refname }, selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchGetObjectAtPathQuery<S extends ObjectSelect>(queryClient: QueryClient, params: {
    variables?: GetObjectAtPathVariables;
    selection: {
        fields: S & ObjectSelect;
    } & HookStrictSelect<NoInfer<S>, ObjectSelect>;
}): Promise<void>;
