/**
 * One row per cert-bearing host or wildcard; tracks domain verification and TLS provisioning independently of services_public.domains. Reconcilers match a route's root domain to a row here by string (no FK/coupling in v1)
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { ManagedDomainSelect, ManagedDomainWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ManagedDomainSelect, ManagedDomainWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const managedDomainQueryKey: (id: string | number) => readonly ["manageddomain", "detail", string | number];
/**
 * One row per cert-bearing host or wildcard; tracks domain verification and TLS provisioning independently of services_public.domains. Reconcilers match a route's root domain to a row here by string (no FK/coupling in v1)
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useManagedDomainQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useManagedDomainQuery<S extends ManagedDomainSelect, TData = {
    managedDomain: InferSelectResult<ManagedDomainWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ManagedDomainSelect>;
} & Omit<UseQueryOptions<{
    managedDomain: InferSelectResult<ManagedDomainWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * One row per cert-bearing host or wildcard; tracks domain verification and TLS provisioning independently of services_public.domains. Reconcilers match a route's root domain to a row here by string (no FK/coupling in v1)
 *
 * @example
 * ```ts
 * const data = await fetchManagedDomainQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchManagedDomainQuery<S extends ManagedDomainSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ManagedDomainSelect>;
}): Promise<{
    managedDomain: InferSelectResult<ManagedDomainWithRelations, S> | null;
}>;
/**
 * One row per cert-bearing host or wildcard; tracks domain verification and TLS provisioning independently of services_public.domains. Reconcilers match a route's root domain to a row here by string (no FK/coupling in v1)
 *
 * @example
 * ```ts
 * await prefetchManagedDomainQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchManagedDomainQuery<S extends ManagedDomainSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ManagedDomainSelect>;
}): Promise<void>;
