/**
 * 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 { ListSelectionConfig } from '../selection';
import type { ApiSettingSelect, ApiSettingWithRelations, ApiSettingFilter, ApiSettingOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { ApiSettingSelect, ApiSettingWithRelations, ApiSettingFilter, ApiSettingOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const apiSettingsQueryKey: (variables?: object) => readonly ["apisetting", "list", object];
/**
 * Per-API feature flag overrides; NULL columns inherit from database_settings, explicit true/false overrides the database default
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useApiSettingsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useApiSettingsQuery<S extends ApiSettingSelect, TData = {
    apiSettings: ConnectionResult<InferSelectResult<ApiSettingWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ApiSettingFilter, ApiSettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ApiSettingSelect>;
} & Omit<UseQueryOptions<{
    apiSettings: ConnectionResult<InferSelectResult<ApiSettingWithRelations, S>>;
}, 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 fetchApiSettingsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchApiSettingsQuery<S extends ApiSettingSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ApiSettingFilter, ApiSettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ApiSettingSelect>;
}): Promise<{
    apiSettings: ConnectionResult<InferSelectResult<ApiSettingWithRelations, S>>;
}>;
/**
 * Per-API feature flag overrides; NULL columns inherit from database_settings, explicit true/false overrides the database default
 *
 * @example
 * ```ts
 * await prefetchApiSettingsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchApiSettingsQuery<S extends ApiSettingSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ApiSettingFilter, ApiSettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ApiSettingSelect>;
}): Promise<void>;
