/**
 * List 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 { ListSelectionConfig } from '../selection';
import type { EmbeddingChunkSelect, EmbeddingChunkWithRelations, EmbeddingChunkFilter, EmbeddingChunkOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { EmbeddingChunkSelect, EmbeddingChunkWithRelations, EmbeddingChunkFilter, EmbeddingChunkOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const embeddingChunksQueryKey: (variables?: object) => readonly ["embeddingchunk", "list", object];
/**
 * Query hook for fetching EmbeddingChunk list
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useEmbeddingChunksQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useEmbeddingChunksQuery<S extends EmbeddingChunkSelect, TData = {
    embeddingChunks: ConnectionResult<InferSelectResult<EmbeddingChunkWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, EmbeddingChunkFilter, EmbeddingChunkOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, EmbeddingChunkSelect>;
} & Omit<UseQueryOptions<{
    embeddingChunks: ConnectionResult<InferSelectResult<EmbeddingChunkWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch EmbeddingChunk list without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchEmbeddingChunksQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchEmbeddingChunksQuery<S extends EmbeddingChunkSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, EmbeddingChunkFilter, EmbeddingChunkOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, EmbeddingChunkSelect>;
}): Promise<{
    embeddingChunks: ConnectionResult<InferSelectResult<EmbeddingChunkWithRelations, S>>;
}>;
/**
 * Prefetch EmbeddingChunk list for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchEmbeddingChunksQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchEmbeddingChunksQuery<S extends EmbeddingChunkSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, EmbeddingChunkFilter, EmbeddingChunkOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, EmbeddingChunkSelect>;
}): Promise<void>;
