/**
 * Entity-aware config row for the identity_providers_module, which provisions a per-database
     identity_providers table holding OAuth2 / OIDC (and future SAML) provider definitions.
     The scope column determines which config_secrets_module table the rotate proc targets
     (app_secrets for app scope, org_secrets for org scope). When scope = platform,
     the secrets table gets a database_id column and platform-level RLS via
     AuthzRelatedEntityMembership through database.owner_id.
     Scoping matrix:
       scope=app       → per-database flat, in-app admin manages
       scope=platform  → per-database, platform admin manages (generate:constructive)
       scope=org       → per-org tenant, org admin manages
 * @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 { IdentityProvidersModuleSelect, IdentityProvidersModuleWithRelations, IdentityProvidersModuleFilter, IdentityProvidersModuleOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { IdentityProvidersModuleSelect, IdentityProvidersModuleWithRelations, IdentityProvidersModuleFilter, IdentityProvidersModuleOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const identityProvidersModulesQueryKey: (variables?: object) => readonly ["identityprovidersmodule", "list", object];
/**
 * Entity-aware config row for the identity_providers_module, which provisions a per-database
     identity_providers table holding OAuth2 / OIDC (and future SAML) provider definitions.
     The scope column determines which config_secrets_module table the rotate proc targets
     (app_secrets for app scope, org_secrets for org scope). When scope = platform,
     the secrets table gets a database_id column and platform-level RLS via
     AuthzRelatedEntityMembership through database.owner_id.
     Scoping matrix:
       scope=app       → per-database flat, in-app admin manages
       scope=platform  → per-database, platform admin manages (generate:constructive)
       scope=org       → per-org tenant, org admin manages
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useIdentityProvidersModulesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useIdentityProvidersModulesQuery<S extends IdentityProvidersModuleSelect, TData = {
    identityProvidersModules: ConnectionResult<InferSelectResult<IdentityProvidersModuleWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, IdentityProvidersModuleFilter, IdentityProvidersModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, IdentityProvidersModuleSelect>;
} & Omit<UseQueryOptions<{
    identityProvidersModules: ConnectionResult<InferSelectResult<IdentityProvidersModuleWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Entity-aware config row for the identity_providers_module, which provisions a per-database
     identity_providers table holding OAuth2 / OIDC (and future SAML) provider definitions.
     The scope column determines which config_secrets_module table the rotate proc targets
     (app_secrets for app scope, org_secrets for org scope). When scope = platform,
     the secrets table gets a database_id column and platform-level RLS via
     AuthzRelatedEntityMembership through database.owner_id.
     Scoping matrix:
       scope=app       → per-database flat, in-app admin manages
       scope=platform  → per-database, platform admin manages (generate:constructive)
       scope=org       → per-org tenant, org admin manages
 *
 * @example
 * ```ts
 * const data = await fetchIdentityProvidersModulesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchIdentityProvidersModulesQuery<S extends IdentityProvidersModuleSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, IdentityProvidersModuleFilter, IdentityProvidersModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, IdentityProvidersModuleSelect>;
}): Promise<{
    identityProvidersModules: ConnectionResult<InferSelectResult<IdentityProvidersModuleWithRelations, S>>;
}>;
/**
 * Entity-aware config row for the identity_providers_module, which provisions a per-database
     identity_providers table holding OAuth2 / OIDC (and future SAML) provider definitions.
     The scope column determines which config_secrets_module table the rotate proc targets
     (app_secrets for app scope, org_secrets for org scope). When scope = platform,
     the secrets table gets a database_id column and platform-level RLS via
     AuthzRelatedEntityMembership through database.owner_id.
     Scoping matrix:
       scope=app       → per-database flat, in-app admin manages
       scope=platform  → per-database, platform admin manages (generate:constructive)
       scope=org       → per-org tenant, org admin manages
 *
 * @example
 * ```ts
 * await prefetchIdentityProvidersModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchIdentityProvidersModulesQuery<S extends IdentityProvidersModuleSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, IdentityProvidersModuleFilter, IdentityProvidersModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, IdentityProvidersModuleSelect>;
}): Promise<void>;
