/**
 * Tracks individual construction attempts of a blueprint. Each time construct_blueprint() is called, a new record is created here. This separates the editable blueprint definition from its build history, allowing blueprints to be re-executed, constructed into multiple databases, and maintain an audit trail of all construction attempts.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { BlueprintConstructionSelect, BlueprintConstructionWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { BlueprintConstructionSelect, BlueprintConstructionWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const blueprintConstructionQueryKey: (id: string | number) => readonly ["blueprintconstruction", "detail", string | number];
/**
 * Tracks individual construction attempts of a blueprint. Each time construct_blueprint() is called, a new record is created here. This separates the editable blueprint definition from its build history, allowing blueprints to be re-executed, constructed into multiple databases, and maintain an audit trail of all construction attempts.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useBlueprintConstructionQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useBlueprintConstructionQuery<S extends BlueprintConstructionSelect, TData = {
    blueprintConstruction: InferSelectResult<BlueprintConstructionWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, BlueprintConstructionSelect>;
} & Omit<UseQueryOptions<{
    blueprintConstruction: InferSelectResult<BlueprintConstructionWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Tracks individual construction attempts of a blueprint. Each time construct_blueprint() is called, a new record is created here. This separates the editable blueprint definition from its build history, allowing blueprints to be re-executed, constructed into multiple databases, and maintain an audit trail of all construction attempts.
 *
 * @example
 * ```ts
 * const data = await fetchBlueprintConstructionQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchBlueprintConstructionQuery<S extends BlueprintConstructionSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, BlueprintConstructionSelect>;
}): Promise<{
    blueprintConstruction: InferSelectResult<BlueprintConstructionWithRelations, S> | null;
}>;
/**
 * Tracks individual construction attempts of a blueprint. Each time construct_blueprint() is called, a new record is created here. This separates the editable blueprint definition from its build history, allowing blueprints to be re-executed, constructed into multiple databases, and maintain an audit trail of all construction attempts.
 *
 * @example
 * ```ts
 * await prefetchBlueprintConstructionQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchBlueprintConstructionQuery<S extends BlueprintConstructionSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, BlueprintConstructionSelect>;
}): Promise<void>;
