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