/**
 * Single item query hook for EmbeddingChunk
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { EmbeddingChunkSelect, EmbeddingChunkWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { EmbeddingChunkSelect, EmbeddingChunkWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const embeddingChunkQueryKey: (id: string | number) => readonly ["embeddingchunk", "detail", string | number];
/**
 * Query hook for fetching a single EmbeddingChunk
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useEmbeddingChunkQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useEmbeddingChunkQuery<S extends EmbeddingChunkSelect, TData = {
    embeddingChunk: InferSelectResult<EmbeddingChunkWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, EmbeddingChunkSelect>;
} & Omit<UseQueryOptions<{
    embeddingChunk: InferSelectResult<EmbeddingChunkWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch a single EmbeddingChunk without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchEmbeddingChunkQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchEmbeddingChunkQuery<S extends EmbeddingChunkSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, EmbeddingChunkSelect>;
}): Promise<{
    embeddingChunk: InferSelectResult<EmbeddingChunkWithRelations, S> | null;
}>;
/**
 * Prefetch a single EmbeddingChunk for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchEmbeddingChunkQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchEmbeddingChunkQuery<S extends EmbeddingChunkSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, EmbeddingChunkSelect>;
}): Promise<void>;
