/**
 * Database provisioning preset catalog — merkle-versioned head over the infra store
 * @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 { DbPresetSelect, DbPresetWithRelations, DbPresetFilter, DbPresetOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { DbPresetSelect, DbPresetWithRelations, DbPresetFilter, DbPresetOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const dbPresetsQueryKey: (variables?: object) => readonly ["dbpreset", "list", object];
/**
 * Database provisioning preset catalog — merkle-versioned head over the infra store
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useDbPresetsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useDbPresetsQuery<S extends DbPresetSelect, TData = {
    dbPresets: ConnectionResult<InferSelectResult<DbPresetWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, DbPresetFilter, DbPresetOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DbPresetSelect>;
} & Omit<UseQueryOptions<{
    dbPresets: ConnectionResult<InferSelectResult<DbPresetWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Database provisioning preset catalog — merkle-versioned head over the infra store
 *
 * @example
 * ```ts
 * const data = await fetchDbPresetsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchDbPresetsQuery<S extends DbPresetSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, DbPresetFilter, DbPresetOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DbPresetSelect>;
}): Promise<{
    dbPresets: ConnectionResult<InferSelectResult<DbPresetWithRelations, S>>;
}>;
/**
 * Database provisioning preset catalog — merkle-versioned head over the infra store
 *
 * @example
 * ```ts
 * await prefetchDbPresetsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchDbPresetsQuery<S extends DbPresetSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, DbPresetFilter, DbPresetOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DbPresetSelect>;
}): Promise<void>;
