/**
 * 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 { SessionSecretsModuleSelect, SessionSecretsModuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { SessionSecretsModuleSelect, SessionSecretsModuleWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const sessionSecretsModuleQueryKey: (id: string | number) => readonly ["sessionsecretsmodule", "detail", string | number];
/**
 * 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 } = useSessionSecretsModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useSessionSecretsModuleQuery<S extends SessionSecretsModuleSelect, TData = {
    sessionSecretsModule: InferSelectResult<SessionSecretsModuleWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, SessionSecretsModuleSelect>;
} & Omit<UseQueryOptions<{
    sessionSecretsModule: InferSelectResult<SessionSecretsModuleWithRelations, S> | null;
}, 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 fetchSessionSecretsModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchSessionSecretsModuleQuery<S extends SessionSecretsModuleSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, SessionSecretsModuleSelect>;
}): Promise<{
    sessionSecretsModule: InferSelectResult<SessionSecretsModuleWithRelations, S> | null;
}>;
/**
 * 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 prefetchSessionSecretsModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchSessionSecretsModuleQuery<S extends SessionSecretsModuleSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, SessionSecretsModuleSelect>;
}): Promise<void>;
