/**
 * 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 { ListSelectionConfig } from '../selection';
import type { DbPoolConfigSelect, DbPoolConfigWithRelations, DbPoolConfigFilter, DbPoolConfigOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { DbPoolConfigSelect, DbPoolConfigWithRelations, DbPoolConfigFilter, DbPoolConfigOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const dbPoolConfigsQueryKey: (variables?: object) => readonly ["dbpoolconfig", "list", object];
/**
 * 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 } = useDbPoolConfigsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useDbPoolConfigsQuery<S extends DbPoolConfigSelect, TData = {
    dbPoolConfigs: ConnectionResult<InferSelectResult<DbPoolConfigWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, DbPoolConfigFilter, DbPoolConfigOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DbPoolConfigSelect>;
} & Omit<UseQueryOptions<{
    dbPoolConfigs: ConnectionResult<InferSelectResult<DbPoolConfigWithRelations, S>>;
}, 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 fetchDbPoolConfigsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchDbPoolConfigsQuery<S extends DbPoolConfigSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, DbPoolConfigFilter, DbPoolConfigOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DbPoolConfigSelect>;
}): Promise<{
    dbPoolConfigs: ConnectionResult<InferSelectResult<DbPoolConfigWithRelations, S>>;
}>;
/**
 * Per-preset configuration for the warm database pool: sizing, TTL, and the platform service org that owns unclaimed warm databases.
 *
 * @example
 * ```ts
 * await prefetchDbPoolConfigsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchDbPoolConfigsQuery<S extends DbPoolConfigSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, DbPoolConfigFilter, DbPoolConfigOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DbPoolConfigSelect>;
}): Promise<void>;
