/**
 * Per-user bcrypt credential store (password hashes, API key hashes).
     Always user-scoped with AuthzDirectOwner RLS. Consumed by user_auth_module,
     identity_providers_module, and bootstrap procedures.
 * @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 { UserCredentialsModuleSelect, UserCredentialsModuleWithRelations, UserCredentialsModuleFilter, UserCredentialsModuleOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { UserCredentialsModuleSelect, UserCredentialsModuleWithRelations, UserCredentialsModuleFilter, UserCredentialsModuleOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const userCredentialsModulesQueryKey: (variables?: object) => readonly ["usercredentialsmodule", "list", object];
/**
 * Per-user bcrypt credential store (password hashes, API key hashes).
     Always user-scoped with AuthzDirectOwner RLS. Consumed by user_auth_module,
     identity_providers_module, and bootstrap procedures.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useUserCredentialsModulesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useUserCredentialsModulesQuery<S extends UserCredentialsModuleSelect, TData = {
    userCredentialsModules: ConnectionResult<InferSelectResult<UserCredentialsModuleWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, UserCredentialsModuleFilter, UserCredentialsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, UserCredentialsModuleSelect>;
} & Omit<UseQueryOptions<{
    userCredentialsModules: ConnectionResult<InferSelectResult<UserCredentialsModuleWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Per-user bcrypt credential store (password hashes, API key hashes).
     Always user-scoped with AuthzDirectOwner RLS. Consumed by user_auth_module,
     identity_providers_module, and bootstrap procedures.
 *
 * @example
 * ```ts
 * const data = await fetchUserCredentialsModulesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchUserCredentialsModulesQuery<S extends UserCredentialsModuleSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, UserCredentialsModuleFilter, UserCredentialsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, UserCredentialsModuleSelect>;
}): Promise<{
    userCredentialsModules: ConnectionResult<InferSelectResult<UserCredentialsModuleWithRelations, S>>;
}>;
/**
 * Per-user bcrypt credential store (password hashes, API key hashes).
     Always user-scoped with AuthzDirectOwner RLS. Consumed by user_auth_module,
     identity_providers_module, and bootstrap procedures.
 *
 * @example
 * ```ts
 * await prefetchUserCredentialsModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchUserCredentialsModulesQuery<S extends UserCredentialsModuleSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, UserCredentialsModuleFilter, UserCredentialsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, UserCredentialsModuleSelect>;
}): Promise<void>;
