/**
 * Config row for the integration_providers_module, which provisions a per-database
     integration_providers table holding branded, reusable service definitions.
     Integration providers act as a catalog of external services (e.g. Mailgun, Postgres)
     and list the canonical secret/config names required to use them.
     Other modules (function_module, resource_module) match the provider slug as a string.
 * @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 { IntegrationProvidersModuleSelect, IntegrationProvidersModuleWithRelations, IntegrationProvidersModuleFilter, IntegrationProvidersModuleOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { IntegrationProvidersModuleSelect, IntegrationProvidersModuleWithRelations, IntegrationProvidersModuleFilter, IntegrationProvidersModuleOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const integrationProvidersModulesQueryKey: (variables?: object) => readonly ["integrationprovidersmodule", "list", object];
/**
 * Config row for the integration_providers_module, which provisions a per-database
     integration_providers table holding branded, reusable service definitions.
     Integration providers act as a catalog of external services (e.g. Mailgun, Postgres)
     and list the canonical secret/config names required to use them.
     Other modules (function_module, resource_module) match the provider slug as a string.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useIntegrationProvidersModulesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useIntegrationProvidersModulesQuery<S extends IntegrationProvidersModuleSelect, TData = {
    integrationProvidersModules: ConnectionResult<InferSelectResult<IntegrationProvidersModuleWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, IntegrationProvidersModuleFilter, IntegrationProvidersModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, IntegrationProvidersModuleSelect>;
} & Omit<UseQueryOptions<{
    integrationProvidersModules: ConnectionResult<InferSelectResult<IntegrationProvidersModuleWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Config row for the integration_providers_module, which provisions a per-database
     integration_providers table holding branded, reusable service definitions.
     Integration providers act as a catalog of external services (e.g. Mailgun, Postgres)
     and list the canonical secret/config names required to use them.
     Other modules (function_module, resource_module) match the provider slug as a string.
 *
 * @example
 * ```ts
 * const data = await fetchIntegrationProvidersModulesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchIntegrationProvidersModulesQuery<S extends IntegrationProvidersModuleSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, IntegrationProvidersModuleFilter, IntegrationProvidersModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, IntegrationProvidersModuleSelect>;
}): Promise<{
    integrationProvidersModules: ConnectionResult<InferSelectResult<IntegrationProvidersModuleWithRelations, S>>;
}>;
/**
 * Config row for the integration_providers_module, which provisions a per-database
     integration_providers table holding branded, reusable service definitions.
     Integration providers act as a catalog of external services (e.g. Mailgun, Postgres)
     and list the canonical secret/config names required to use them.
     Other modules (function_module, resource_module) match the provider slug as a string.
 *
 * @example
 * ```ts
 * await prefetchIntegrationProvidersModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchIntegrationProvidersModulesQuery<S extends IntegrationProvidersModuleSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, IntegrationProvidersModuleFilter, IntegrationProvidersModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, IntegrationProvidersModuleSelect>;
}): Promise<void>;
