/**
 * 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 { ListSelectionConfig } from '../selection';
import type { ManagedDomainSelect, ManagedDomainWithRelations, ManagedDomainFilter, ManagedDomainOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { ManagedDomainSelect, ManagedDomainWithRelations, ManagedDomainFilter, ManagedDomainOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const managedDomainsQueryKey: (variables?: object) => readonly ["manageddomain", "list", object];
/**
 * 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 } = useManagedDomainsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useManagedDomainsQuery<S extends ManagedDomainSelect, TData = {
    managedDomains: ConnectionResult<InferSelectResult<ManagedDomainWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ManagedDomainFilter, ManagedDomainOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ManagedDomainSelect>;
} & Omit<UseQueryOptions<{
    managedDomains: ConnectionResult<InferSelectResult<ManagedDomainWithRelations, S>>;
}, 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 fetchManagedDomainsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchManagedDomainsQuery<S extends ManagedDomainSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ManagedDomainFilter, ManagedDomainOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ManagedDomainSelect>;
}): Promise<{
    managedDomains: ConnectionResult<InferSelectResult<ManagedDomainWithRelations, S>>;
}>;
/**
 * 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 prefetchManagedDomainsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchManagedDomainsQuery<S extends ManagedDomainSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ManagedDomainFilter, ManagedDomainOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ManagedDomainSelect>;
}): Promise<void>;
