/**
 * 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 { AuditLogSelect, AuditLogWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AuditLogSelect, AuditLogWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const auditLogQueryKey: (id: string | number) => readonly ["auditlog", "detail", string | number];
/**
 * Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAuditLogQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useAuditLogQuery<S extends AuditLogSelect, TData = {
    auditLog: InferSelectResult<AuditLogWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AuditLogSelect>;
} & Omit<UseQueryOptions<{
    auditLog: InferSelectResult<AuditLogWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
 *
 * @example
 * ```ts
 * const data = await fetchAuditLogQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchAuditLogQuery<S extends AuditLogSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AuditLogSelect>;
}): Promise<{
    auditLog: InferSelectResult<AuditLogWithRelations, S> | null;
}>;
/**
 * Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
 *
 * @example
 * ```ts
 * await prefetchAuditLogQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchAuditLogQuery<S extends AuditLogSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AuditLogSelect>;
}): Promise<void>;
