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