/**
 * Per-preset configuration for the warm database pool: sizing, TTL, and the platform service org that owns unclaimed warm databases.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { DbPoolConfigSelect, DbPoolConfigWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { DbPoolConfigSelect, DbPoolConfigWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const dbPoolConfigQueryKey: (id: string | number) => readonly ["dbpoolconfig", "detail", string | number];
/**
 * Per-preset configuration for the warm database pool: sizing, TTL, and the platform service org that owns unclaimed warm databases.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useDbPoolConfigQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useDbPoolConfigQuery<S extends DbPoolConfigSelect, TData = {
    dbPoolConfig: InferSelectResult<DbPoolConfigWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, DbPoolConfigSelect>;
} & Omit<UseQueryOptions<{
    dbPoolConfig: InferSelectResult<DbPoolConfigWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Per-preset configuration for the warm database pool: sizing, TTL, and the platform service org that owns unclaimed warm databases.
 *
 * @example
 * ```ts
 * const data = await fetchDbPoolConfigQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchDbPoolConfigQuery<S extends DbPoolConfigSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, DbPoolConfigSelect>;
}): Promise<{
    dbPoolConfig: InferSelectResult<DbPoolConfigWithRelations, S> | null;
}>;
/**
 * Per-preset configuration for the warm database pool: sizing, TTL, and the platform service org that owns unclaimed warm databases.
 *
 * @example
 * ```ts
 * await prefetchDbPoolConfigQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchDbPoolConfigQuery<S extends DbPoolConfigSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, DbPoolConfigSelect>;
}): Promise<void>;
