/**
 * Partitioned append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { AuditLogAuthSelect, AuditLogAuthWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AuditLogAuthSelect, AuditLogAuthWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const auditLogAuthQueryKey: (id: string | number) => readonly ["auditlogauth", "detail", string | number];
/**
 * Partitioned append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAuditLogAuthQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useAuditLogAuthQuery<S extends AuditLogAuthSelect, TData = {
    auditLogAuth: InferSelectResult<AuditLogAuthWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AuditLogAuthSelect>;
} & Omit<UseQueryOptions<{
    auditLogAuth: InferSelectResult<AuditLogAuthWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Partitioned append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
 *
 * @example
 * ```ts
 * const data = await fetchAuditLogAuthQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchAuditLogAuthQuery<S extends AuditLogAuthSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AuditLogAuthSelect>;
}): Promise<{
    auditLogAuth: InferSelectResult<AuditLogAuthWithRelations, S> | null;
}>;
/**
 * Partitioned append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
 *
 * @example
 * ```ts
 * await prefetchAuditLogAuthQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchAuditLogAuthQuery<S extends AuditLogAuthSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AuditLogAuthSelect>;
}): Promise<void>;
