/**
 * WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
 * @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 { WebauthnCredentialSelect, WebauthnCredentialWithRelations, WebauthnCredentialFilter, WebauthnCredentialOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { WebauthnCredentialSelect, WebauthnCredentialWithRelations, WebauthnCredentialFilter, WebauthnCredentialOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const webauthnCredentialsQueryKey: (variables?: object) => readonly ["webauthncredential", "list", object];
/**
 * WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useWebauthnCredentialsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useWebauthnCredentialsQuery<S extends WebauthnCredentialSelect, TData = {
    webauthnCredentials: ConnectionResult<InferSelectResult<WebauthnCredentialWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, WebauthnCredentialFilter, WebauthnCredentialOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
} & Omit<UseQueryOptions<{
    webauthnCredentials: ConnectionResult<InferSelectResult<WebauthnCredentialWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
 *
 * @example
 * ```ts
 * const data = await fetchWebauthnCredentialsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchWebauthnCredentialsQuery<S extends WebauthnCredentialSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, WebauthnCredentialFilter, WebauthnCredentialOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
}): Promise<{
    webauthnCredentials: ConnectionResult<InferSelectResult<WebauthnCredentialWithRelations, S>>;
}>;
/**
 * WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object.
 *
 * @example
 * ```ts
 * await prefetchWebauthnCredentialsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchWebauthnCredentialsQuery<S extends WebauthnCredentialSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, WebauthnCredentialFilter, WebauthnCredentialOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
}): Promise<void>;
