/**
 * Config row for the webauthn_credentials_module, which provisions the per-user WebAuthn/passkey credentials table (public key, counter, transports, device type, backup state) mirroring crypto_addresses_module. The sibling webauthn_auth_module holds RP config and the registration/sign-in challenge state.
 * @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 { WebauthnCredentialsModuleSelect, WebauthnCredentialsModuleWithRelations, WebauthnCredentialsModuleFilter, WebauthnCredentialsModuleOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { WebauthnCredentialsModuleSelect, WebauthnCredentialsModuleWithRelations, WebauthnCredentialsModuleFilter, WebauthnCredentialsModuleOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const webauthnCredentialsModulesQueryKey: (variables?: object) => readonly ["webauthncredentialsmodule", "list", object];
/**
 * Config row for the webauthn_credentials_module, which provisions the per-user WebAuthn/passkey credentials table (public key, counter, transports, device type, backup state) mirroring crypto_addresses_module. The sibling webauthn_auth_module holds RP config and the registration/sign-in challenge state.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useWebauthnCredentialsModulesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useWebauthnCredentialsModulesQuery<S extends WebauthnCredentialsModuleSelect, TData = {
    webauthnCredentialsModules: ConnectionResult<InferSelectResult<WebauthnCredentialsModuleWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, WebauthnCredentialsModuleFilter, WebauthnCredentialsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, WebauthnCredentialsModuleSelect>;
} & Omit<UseQueryOptions<{
    webauthnCredentialsModules: ConnectionResult<InferSelectResult<WebauthnCredentialsModuleWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Config row for the webauthn_credentials_module, which provisions the per-user WebAuthn/passkey credentials table (public key, counter, transports, device type, backup state) mirroring crypto_addresses_module. The sibling webauthn_auth_module holds RP config and the registration/sign-in challenge state.
 *
 * @example
 * ```ts
 * const data = await fetchWebauthnCredentialsModulesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchWebauthnCredentialsModulesQuery<S extends WebauthnCredentialsModuleSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, WebauthnCredentialsModuleFilter, WebauthnCredentialsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, WebauthnCredentialsModuleSelect>;
}): Promise<{
    webauthnCredentialsModules: ConnectionResult<InferSelectResult<WebauthnCredentialsModuleWithRelations, S>>;
}>;
/**
 * Config row for the webauthn_credentials_module, which provisions the per-user WebAuthn/passkey credentials table (public key, counter, transports, device type, backup state) mirroring crypto_addresses_module. The sibling webauthn_auth_module holds RP config and the registration/sign-in challenge state.
 *
 * @example
 * ```ts
 * await prefetchWebauthnCredentialsModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchWebauthnCredentialsModulesQuery<S extends WebauthnCredentialsModuleSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, WebauthnCredentialsModuleFilter, WebauthnCredentialsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, WebauthnCredentialsModuleSelect>;
}): Promise<void>;
