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