/**
 * Single item query hook for WebauthnAuthModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { WebauthnAuthModuleSelect, WebauthnAuthModuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { WebauthnAuthModuleSelect, WebauthnAuthModuleWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const webauthnAuthModuleQueryKey: (id: string | number) => readonly ["webauthnauthmodule", "detail", string | number];
/**
 * Query hook for fetching a single WebauthnAuthModule
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useWebauthnAuthModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useWebauthnAuthModuleQuery<S extends WebauthnAuthModuleSelect, TData = {
    webauthnAuthModule: InferSelectResult<WebauthnAuthModuleWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, WebauthnAuthModuleSelect>;
} & Omit<UseQueryOptions<{
    webauthnAuthModule: InferSelectResult<WebauthnAuthModuleWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch a single WebauthnAuthModule without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchWebauthnAuthModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchWebauthnAuthModuleQuery<S extends WebauthnAuthModuleSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, WebauthnAuthModuleSelect>;
}): Promise<{
    webauthnAuthModule: InferSelectResult<WebauthnAuthModuleWithRelations, S> | null;
}>;
/**
 * Prefetch a single WebauthnAuthModule for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchWebauthnAuthModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchWebauthnAuthModuleQuery<S extends WebauthnAuthModuleSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, WebauthnAuthModuleSelect>;
}): Promise<void>;
