/**
 * Config row for the identity_providers_module, which provisions a per-database identity_providers config table holding OAuth2 / OIDC (and future SAML) provider definitions: protocol kind, endpoint URLs, encrypted client secret, scopes, audience validation, PKCE, and email-handling flags. Built-in providers (google, github, apple, ...) are seeded as is_built_in=true rows; custom providers use slugs of the form custom:<slug>.
 * @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];
/**
 * Config row for the identity_providers_module, which provisions a per-database identity_providers config table holding OAuth2 / OIDC (and future SAML) provider definitions: protocol kind, endpoint URLs, encrypted client secret, scopes, audience validation, PKCE, and email-handling flags. Built-in providers (google, github, apple, ...) are seeded as is_built_in=true rows; custom providers use slugs of the form custom:<slug>.
 *
 * @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>;
/**
 * Config row for the identity_providers_module, which provisions a per-database identity_providers config table holding OAuth2 / OIDC (and future SAML) provider definitions: protocol kind, endpoint URLs, encrypted client secret, scopes, audience validation, PKCE, and email-handling flags. Built-in providers (google, github, apple, ...) are seeded as is_built_in=true rows; custom providers use slugs of the form custom:<slug>.
 *
 * @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>>;
}>;
/**
 * Config row for the identity_providers_module, which provisions a per-database identity_providers config table holding OAuth2 / OIDC (and future SAML) provider definitions: protocol kind, endpoint URLs, encrypted client secret, scopes, audience validation, PKCE, and email-handling flags. Built-in providers (google, github, apple, ...) are seeded as is_built_in=true rows; custom providers use slugs of the form custom:<slug>.
 *
 * @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>;
