/**
 * 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 { WebauthnCredentialSelect, WebauthnCredentialWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { WebauthnCredentialSelect, WebauthnCredentialWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const webauthnCredentialQueryKey: (id: string | number) => readonly ["webauthncredential", "detail", string | number];
/**
 * 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 } = useWebauthnCredentialQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useWebauthnCredentialQuery<S extends WebauthnCredentialSelect, TData = {
    webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
} & Omit<UseQueryOptions<{
    webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S> | null;
}, 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 fetchWebauthnCredentialQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchWebauthnCredentialQuery<S extends WebauthnCredentialSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
}): Promise<{
    webauthnCredential: InferSelectResult<WebauthnCredentialWithRelations, S> | null;
}>;
/**
 * 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 prefetchWebauthnCredentialQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchWebauthnCredentialQuery<S extends WebauthnCredentialSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, WebauthnCredentialSelect>;
}): Promise<void>;
