/**
 * 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 { WebauthnSettingSelect, WebauthnSettingWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { WebauthnSettingSelect, WebauthnSettingWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const webauthnSettingQueryKey: (id: string | number) => readonly ["webauthnsetting", "detail", string | number];
/**
 * Per-database WebAuthn/passkey runtime configuration; typed replacement for api_modules webauthn_challenge JSONB entries
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useWebauthnSettingQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useWebauthnSettingQuery<S extends WebauthnSettingSelect, TData = {
    webauthnSetting: InferSelectResult<WebauthnSettingWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, WebauthnSettingSelect>;
} & Omit<UseQueryOptions<{
    webauthnSetting: InferSelectResult<WebauthnSettingWithRelations, S> | null;
}, 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 fetchWebauthnSettingQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchWebauthnSettingQuery<S extends WebauthnSettingSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, WebauthnSettingSelect>;
}): Promise<{
    webauthnSetting: InferSelectResult<WebauthnSettingWithRelations, S> | null;
}>;
/**
 * Per-database WebAuthn/passkey runtime configuration; typed replacement for api_modules webauthn_challenge JSONB entries
 *
 * @example
 * ```ts
 * await prefetchWebauthnSettingQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchWebauthnSettingQuery<S extends WebauthnSettingSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, WebauthnSettingSelect>;
}): Promise<void>;
