/**
 * An owned, editable blueprint scoped to a specific database. Created by copying from a blueprint_template via copy_template_to_blueprint() or built from scratch. The owner can customize the definition at any time. Execute it with construct_blueprint() which creates a separate blueprint_construction record to track the build.
 * @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 { BlueprintSelect, BlueprintWithRelations, BlueprintFilter, BlueprintOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { BlueprintSelect, BlueprintWithRelations, BlueprintFilter, BlueprintOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const blueprintsQueryKey: (variables?: object) => readonly ["blueprint", "list", object];
/**
 * An owned, editable blueprint scoped to a specific database. Created by copying from a blueprint_template via copy_template_to_blueprint() or built from scratch. The owner can customize the definition at any time. Execute it with construct_blueprint() which creates a separate blueprint_construction record to track the build.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useBlueprintsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useBlueprintsQuery<S extends BlueprintSelect, TData = {
    blueprints: ConnectionResult<InferSelectResult<BlueprintWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, BlueprintFilter, BlueprintOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, BlueprintSelect>;
} & Omit<UseQueryOptions<{
    blueprints: ConnectionResult<InferSelectResult<BlueprintWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * An owned, editable blueprint scoped to a specific database. Created by copying from a blueprint_template via copy_template_to_blueprint() or built from scratch. The owner can customize the definition at any time. Execute it with construct_blueprint() which creates a separate blueprint_construction record to track the build.
 *
 * @example
 * ```ts
 * const data = await fetchBlueprintsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchBlueprintsQuery<S extends BlueprintSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, BlueprintFilter, BlueprintOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, BlueprintSelect>;
}): Promise<{
    blueprints: ConnectionResult<InferSelectResult<BlueprintWithRelations, S>>;
}>;
/**
 * An owned, editable blueprint scoped to a specific database. Created by copying from a blueprint_template via copy_template_to_blueprint() or built from scratch. The owner can customize the definition at any time. Execute it with construct_blueprint() which creates a separate blueprint_construction record to track the build.
 *
 * @example
 * ```ts
 * await prefetchBlueprintsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchBlueprintsQuery<S extends BlueprintSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, BlueprintFilter, BlueprintOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, BlueprintSelect>;
}): Promise<void>;
