/**
 * Per-database WebAuthn/passkey runtime configuration; typed replacement for api_modules webauthn_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 { WebauthnSettingSelect, WebauthnSettingWithRelations, WebauthnSettingFilter, WebauthnSettingOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { WebauthnSettingSelect, WebauthnSettingWithRelations, WebauthnSettingFilter, WebauthnSettingOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const webauthnSettingsQueryKey: (variables?: object) => readonly ["webauthnsetting", "list", object];
/**
 * Per-database WebAuthn/passkey runtime configuration; typed replacement for api_modules webauthn_challenge JSONB entries
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useWebauthnSettingsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useWebauthnSettingsQuery<S extends WebauthnSettingSelect, TData = {
    webauthnSettings: ConnectionResult<InferSelectResult<WebauthnSettingWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, WebauthnSettingFilter, WebauthnSettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, WebauthnSettingSelect>;
} & Omit<UseQueryOptions<{
    webauthnSettings: ConnectionResult<InferSelectResult<WebauthnSettingWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Per-database WebAuthn/passkey runtime configuration; typed replacement for api_modules webauthn_challenge JSONB entries
 *
 * @example
 * ```ts
 * const data = await fetchWebauthnSettingsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchWebauthnSettingsQuery<S extends WebauthnSettingSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, WebauthnSettingFilter, WebauthnSettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, WebauthnSettingSelect>;
}): Promise<{
    webauthnSettings: ConnectionResult<InferSelectResult<WebauthnSettingWithRelations, S>>;
}>;
/**
 * Per-database WebAuthn/passkey runtime configuration; typed replacement for api_modules webauthn_challenge JSONB entries
 *
 * @example
 * ```ts
 * await prefetchWebauthnSettingsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchWebauthnSettingsQuery<S extends WebauthnSettingSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, WebauthnSettingFilter, WebauthnSettingOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, WebauthnSettingSelect>;
}): Promise<void>;
