/**
 * Branded catalog of external service integrations and their canonical secret/config requirements. Each row defines a provider (e.g. Mailgun, Postgres) that function and resource definitions can reference by slug. The required_secrets/required_configs arrays are guidance that the UI can copy into a definition; the definition arrays remain the source of truth.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { IntegrationProviderSelect, IntegrationProviderWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { IntegrationProviderSelect, IntegrationProviderWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const integrationProviderQueryKey: (id: string | number) => readonly ["integrationprovider", "detail", string | number];
/**
 * Branded catalog of external service integrations and their canonical secret/config requirements. Each row defines a provider (e.g. Mailgun, Postgres) that function and resource definitions can reference by slug. The required_secrets/required_configs arrays are guidance that the UI can copy into a definition; the definition arrays remain the source of truth.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useIntegrationProviderQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useIntegrationProviderQuery<S extends IntegrationProviderSelect, TData = {
    integrationProvider: InferSelectResult<IntegrationProviderWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, IntegrationProviderSelect>;
} & Omit<UseQueryOptions<{
    integrationProvider: InferSelectResult<IntegrationProviderWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Branded catalog of external service integrations and their canonical secret/config requirements. Each row defines a provider (e.g. Mailgun, Postgres) that function and resource definitions can reference by slug. The required_secrets/required_configs arrays are guidance that the UI can copy into a definition; the definition arrays remain the source of truth.
 *
 * @example
 * ```ts
 * const data = await fetchIntegrationProviderQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchIntegrationProviderQuery<S extends IntegrationProviderSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, IntegrationProviderSelect>;
}): Promise<{
    integrationProvider: InferSelectResult<IntegrationProviderWithRelations, S> | null;
}>;
/**
 * Branded catalog of external service integrations and their canonical secret/config requirements. Each row defines a provider (e.g. Mailgun, Postgres) that function and resource definitions can reference by slug. The required_secrets/required_configs arrays are guidance that the UI can copy into a definition; the definition arrays remain the source of truth.
 *
 * @example
 * ```ts
 * await prefetchIntegrationProviderQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchIntegrationProviderQuery<S extends IntegrationProviderSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, IntegrationProviderSelect>;
}): Promise<void>;
