/**
 * 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 { ListSelectionConfig } from '../selection';
import type { AuditLogSelect, AuditLogWithRelations, AuditLogFilter, AuditLogOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { AuditLogSelect, AuditLogWithRelations, AuditLogFilter, AuditLogOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const auditLogsQueryKey: (variables?: object) => readonly ["auditlog", "list", object];
/**
 * Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAuditLogsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useAuditLogsQuery<S extends AuditLogSelect, TData = {
    auditLogs: ConnectionResult<InferSelectResult<AuditLogWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AuditLogFilter, AuditLogOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AuditLogSelect>;
} & Omit<UseQueryOptions<{
    auditLogs: ConnectionResult<InferSelectResult<AuditLogWithRelations, S>>;
}, 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 fetchAuditLogsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchAuditLogsQuery<S extends AuditLogSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AuditLogFilter, AuditLogOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AuditLogSelect>;
}): Promise<{
    auditLogs: ConnectionResult<InferSelectResult<AuditLogWithRelations, S>>;
}>;
/**
 * Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
 *
 * @example
 * ```ts
 * await prefetchAuditLogsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchAuditLogsQuery<S extends AuditLogSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AuditLogFilter, AuditLogOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AuditLogSelect>;
}): Promise<void>;
