/**
 * Config row for the session_secrets_module, which provisions a DB-private, session-scoped ephemeral key-value store for challenges, nonces, and one-time tokens that must never be readable by end users.
 * @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 { SessionSecretsModuleSelect, SessionSecretsModuleWithRelations, SessionSecretsModuleFilter, SessionSecretsModuleOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { SessionSecretsModuleSelect, SessionSecretsModuleWithRelations, SessionSecretsModuleFilter, SessionSecretsModuleOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const sessionSecretsModulesQueryKey: (variables?: object) => readonly ["sessionsecretsmodule", "list", object];
/**
 * Config row for the session_secrets_module, which provisions a DB-private, session-scoped ephemeral key-value store for challenges, nonces, and one-time tokens that must never be readable by end users.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useSessionSecretsModulesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useSessionSecretsModulesQuery<S extends SessionSecretsModuleSelect, TData = {
    sessionSecretsModules: ConnectionResult<InferSelectResult<SessionSecretsModuleWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, SessionSecretsModuleFilter, SessionSecretsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, SessionSecretsModuleSelect>;
} & Omit<UseQueryOptions<{
    sessionSecretsModules: ConnectionResult<InferSelectResult<SessionSecretsModuleWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Config row for the session_secrets_module, which provisions a DB-private, session-scoped ephemeral key-value store for challenges, nonces, and one-time tokens that must never be readable by end users.
 *
 * @example
 * ```ts
 * const data = await fetchSessionSecretsModulesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchSessionSecretsModulesQuery<S extends SessionSecretsModuleSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, SessionSecretsModuleFilter, SessionSecretsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, SessionSecretsModuleSelect>;
}): Promise<{
    sessionSecretsModules: ConnectionResult<InferSelectResult<SessionSecretsModuleWithRelations, S>>;
}>;
/**
 * Config row for the session_secrets_module, which provisions a DB-private, session-scoped ephemeral key-value store for challenges, nonces, and one-time tokens that must never be readable by end users.
 *
 * @example
 * ```ts
 * await prefetchSessionSecretsModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchSessionSecretsModulesQuery<S extends SessionSecretsModuleSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, SessionSecretsModuleFilter, SessionSecretsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, SessionSecretsModuleSelect>;
}): Promise<void>;
