/**
 * Per-database public-key crypto auth runtime configuration; typed replacement for api_modules pubkey_challenge JSONB entries
 * @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 { PubkeySettingSelect, PubkeySettingWithRelations, PubkeySettingFilter, PubkeySettingOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PubkeySettingSelect, PubkeySettingWithRelations, PubkeySettingFilter, PubkeySettingOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const pubkeySettingsQueryKey: (variables?: object) => readonly ["pubkeysetting", "list", object];
/**
 * Per-database public-key crypto auth runtime configuration; typed replacement for api_modules pubkey_challenge JSONB entries
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePubkeySettingsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePubkeySettingsQuery<S extends PubkeySettingSelect, TData = {
    pubkeySettings: ConnectionResult<InferSelectResult<PubkeySettingWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PubkeySettingFilter, PubkeySettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PubkeySettingSelect>;
} & Omit<UseQueryOptions<{
    pubkeySettings: ConnectionResult<InferSelectResult<PubkeySettingWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Per-database public-key crypto auth runtime configuration; typed replacement for api_modules pubkey_challenge JSONB entries
 *
 * @example
 * ```ts
 * const data = await fetchPubkeySettingsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPubkeySettingsQuery<S extends PubkeySettingSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PubkeySettingFilter, PubkeySettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PubkeySettingSelect>;
}): Promise<{
    pubkeySettings: ConnectionResult<InferSelectResult<PubkeySettingWithRelations, S>>;
}>;
/**
 * Per-database public-key crypto auth runtime configuration; typed replacement for api_modules pubkey_challenge JSONB entries
 *
 * @example
 * ```ts
 * await prefetchPubkeySettingsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPubkeySettingsQuery<S extends PubkeySettingSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PubkeySettingFilter, PubkeySettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PubkeySettingSelect>;
}): Promise<void>;
