/**
 * Per-API feature flag overrides; NULL columns inherit from database_settings, explicit true/false overrides the database default
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { ApiSettingSelect, ApiSettingWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ApiSettingSelect, ApiSettingWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const apiSettingQueryKey: (id: string | number) => readonly ["apisetting", "detail", string | number];
/**
 * Per-API feature flag overrides; NULL columns inherit from database_settings, explicit true/false overrides the database default
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useApiSettingQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useApiSettingQuery<S extends ApiSettingSelect, TData = {
    apiSetting: InferSelectResult<ApiSettingWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ApiSettingSelect>;
} & Omit<UseQueryOptions<{
    apiSetting: InferSelectResult<ApiSettingWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Per-API feature flag overrides; NULL columns inherit from database_settings, explicit true/false overrides the database default
 *
 * @example
 * ```ts
 * const data = await fetchApiSettingQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchApiSettingQuery<S extends ApiSettingSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ApiSettingSelect>;
}): Promise<{
    apiSetting: InferSelectResult<ApiSettingWithRelations, S> | null;
}>;
/**
 * Per-API feature flag overrides; NULL columns inherit from database_settings, explicit true/false overrides the database default
 *
 * @example
 * ```ts
 * await prefetchApiSettingQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchApiSettingQuery<S extends ApiSettingSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ApiSettingSelect>;
}): Promise<void>;
