/**
 * Single item 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 { DatabaseTransferSelect, DatabaseTransferWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { DatabaseTransferSelect, DatabaseTransferWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const databaseTransferQueryKey: (id: string | number) => readonly ["databasetransfer", "detail", string | number];
/**
 * Query hook for fetching a single DatabaseTransfer
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useDatabaseTransferQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useDatabaseTransferQuery<S extends DatabaseTransferSelect, TData = {
    databaseTransfer: InferSelectResult<DatabaseTransferWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, DatabaseTransferSelect>;
} & Omit<UseQueryOptions<{
    databaseTransfer: InferSelectResult<DatabaseTransferWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch a single DatabaseTransfer without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchDatabaseTransferQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchDatabaseTransferQuery<S extends DatabaseTransferSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, DatabaseTransferSelect>;
}): Promise<{
    databaseTransfer: InferSelectResult<DatabaseTransferWithRelations, S> | null;
}>;
/**
 * Prefetch a single DatabaseTransfer for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchDatabaseTransferQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchDatabaseTransferQuery<S extends DatabaseTransferSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, DatabaseTransferSelect>;
}): Promise<void>;
