/**
 * Config row for the config_secrets_org_module, which provisions an organization-scoped encrypted key-value secrets store with manage_secrets permission and entity-membership RLS.
 * @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 { ConfigSecretsOrgModuleSelect, ConfigSecretsOrgModuleWithRelations, ConfigSecretsOrgModuleFilter, ConfigSecretsOrgModuleOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { ConfigSecretsOrgModuleSelect, ConfigSecretsOrgModuleWithRelations, ConfigSecretsOrgModuleFilter, ConfigSecretsOrgModuleOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const configSecretsOrgModulesQueryKey: (variables?: object) => readonly ["configsecretsorgmodule", "list", object];
/**
 * Config row for the config_secrets_org_module, which provisions an organization-scoped encrypted key-value secrets store with manage_secrets permission and entity-membership RLS.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useConfigSecretsOrgModulesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useConfigSecretsOrgModulesQuery<S extends ConfigSecretsOrgModuleSelect, TData = {
    configSecretsOrgModules: ConnectionResult<InferSelectResult<ConfigSecretsOrgModuleWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ConfigSecretsOrgModuleFilter, ConfigSecretsOrgModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ConfigSecretsOrgModuleSelect>;
} & Omit<UseQueryOptions<{
    configSecretsOrgModules: ConnectionResult<InferSelectResult<ConfigSecretsOrgModuleWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Config row for the config_secrets_org_module, which provisions an organization-scoped encrypted key-value secrets store with manage_secrets permission and entity-membership RLS.
 *
 * @example
 * ```ts
 * const data = await fetchConfigSecretsOrgModulesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchConfigSecretsOrgModulesQuery<S extends ConfigSecretsOrgModuleSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ConfigSecretsOrgModuleFilter, ConfigSecretsOrgModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ConfigSecretsOrgModuleSelect>;
}): Promise<{
    configSecretsOrgModules: ConnectionResult<InferSelectResult<ConfigSecretsOrgModuleWithRelations, S>>;
}>;
/**
 * Config row for the config_secrets_org_module, which provisions an organization-scoped encrypted key-value secrets store with manage_secrets permission and entity-membership RLS.
 *
 * @example
 * ```ts
 * await prefetchConfigSecretsOrgModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchConfigSecretsOrgModulesQuery<S extends ConfigSecretsOrgModuleSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ConfigSecretsOrgModuleFilter, ConfigSecretsOrgModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ConfigSecretsOrgModuleSelect>;
}): Promise<void>;
