/**
 * Items within a credit code — each row grants credits for a specific limit definition
 * @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 { AppLimitCreditCodeItemSelect, AppLimitCreditCodeItemWithRelations, AppLimitCreditCodeItemFilter, AppLimitCreditCodeItemOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { AppLimitCreditCodeItemSelect, AppLimitCreditCodeItemWithRelations, AppLimitCreditCodeItemFilter, AppLimitCreditCodeItemOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appLimitCreditCodeItemsQueryKey: (variables?: object) => readonly ["applimitcreditcodeitem", "list", object];
/**
 * Items within a credit code — each row grants credits for a specific limit definition
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppLimitCreditCodeItemsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useAppLimitCreditCodeItemsQuery<S extends AppLimitCreditCodeItemSelect, TData = {
    appLimitCreditCodeItems: ConnectionResult<InferSelectResult<AppLimitCreditCodeItemWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppLimitCreditCodeItemFilter, AppLimitCreditCodeItemOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLimitCreditCodeItemSelect>;
} & Omit<UseQueryOptions<{
    appLimitCreditCodeItems: ConnectionResult<InferSelectResult<AppLimitCreditCodeItemWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Items within a credit code — each row grants credits for a specific limit definition
 *
 * @example
 * ```ts
 * const data = await fetchAppLimitCreditCodeItemsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchAppLimitCreditCodeItemsQuery<S extends AppLimitCreditCodeItemSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppLimitCreditCodeItemFilter, AppLimitCreditCodeItemOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLimitCreditCodeItemSelect>;
}): Promise<{
    appLimitCreditCodeItems: ConnectionResult<InferSelectResult<AppLimitCreditCodeItemWithRelations, S>>;
}>;
/**
 * Items within a credit code — each row grants credits for a specific limit definition
 *
 * @example
 * ```ts
 * await prefetchAppLimitCreditCodeItemsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchAppLimitCreditCodeItemsQuery<S extends AppLimitCreditCodeItemSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppLimitCreditCodeItemFilter, AppLimitCreditCodeItemOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLimitCreditCodeItemSelect>;
}): Promise<void>;
