/**
 * 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 { AppLimitCreditCodeItemSelect, AppLimitCreditCodeItemWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppLimitCreditCodeItemSelect, AppLimitCreditCodeItemWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appLimitCreditCodeItemQueryKey: (id: string | number) => readonly ["applimitcreditcodeitem", "detail", string | number];
/**
 * Items within a credit code — each row grants credits for a specific limit definition
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppLimitCreditCodeItemQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useAppLimitCreditCodeItemQuery<S extends AppLimitCreditCodeItemSelect, TData = {
    appLimitCreditCodeItem: InferSelectResult<AppLimitCreditCodeItemWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppLimitCreditCodeItemSelect>;
} & Omit<UseQueryOptions<{
    appLimitCreditCodeItem: InferSelectResult<AppLimitCreditCodeItemWithRelations, S> | null;
}, 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 fetchAppLimitCreditCodeItemQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchAppLimitCreditCodeItemQuery<S extends AppLimitCreditCodeItemSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppLimitCreditCodeItemSelect>;
}): Promise<{
    appLimitCreditCodeItem: InferSelectResult<AppLimitCreditCodeItemWithRelations, S> | null;
}>;
/**
 * Items within a credit code — each row grants credits for a specific limit definition
 *
 * @example
 * ```ts
 * await prefetchAppLimitCreditCodeItemQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchAppLimitCreditCodeItemQuery<S extends AppLimitCreditCodeItemSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppLimitCreditCodeItemSelect>;
}): Promise<void>;
