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