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