/**
 * A shareable, versioned schema recipe for the blueprint marketplace. Templates define arrays of secure_table_provision + relation_provision inputs that together describe a complete domain schema (e.g. e-commerce, telemedicine, habit tracker). Templates are never executed directly — they are copied into a blueprint first via copy_template_to_blueprint(). Can be private (owner-only) or public (marketplace-visible).
 * @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 { BlueprintTemplateSelect, BlueprintTemplateWithRelations, BlueprintTemplateFilter, BlueprintTemplateOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { BlueprintTemplateSelect, BlueprintTemplateWithRelations, BlueprintTemplateFilter, BlueprintTemplateOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const blueprintTemplatesQueryKey: (variables?: object) => readonly ["blueprinttemplate", "list", object];
/**
 * A shareable, versioned schema recipe for the blueprint marketplace. Templates define arrays of secure_table_provision + relation_provision inputs that together describe a complete domain schema (e.g. e-commerce, telemedicine, habit tracker). Templates are never executed directly — they are copied into a blueprint first via copy_template_to_blueprint(). Can be private (owner-only) or public (marketplace-visible).
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useBlueprintTemplatesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useBlueprintTemplatesQuery<S extends BlueprintTemplateSelect, TData = {
    blueprintTemplates: ConnectionResult<InferSelectResult<BlueprintTemplateWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, BlueprintTemplateFilter, BlueprintTemplateOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, BlueprintTemplateSelect>;
} & Omit<UseQueryOptions<{
    blueprintTemplates: ConnectionResult<InferSelectResult<BlueprintTemplateWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * A shareable, versioned schema recipe for the blueprint marketplace. Templates define arrays of secure_table_provision + relation_provision inputs that together describe a complete domain schema (e.g. e-commerce, telemedicine, habit tracker). Templates are never executed directly — they are copied into a blueprint first via copy_template_to_blueprint(). Can be private (owner-only) or public (marketplace-visible).
 *
 * @example
 * ```ts
 * const data = await fetchBlueprintTemplatesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchBlueprintTemplatesQuery<S extends BlueprintTemplateSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, BlueprintTemplateFilter, BlueprintTemplateOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, BlueprintTemplateSelect>;
}): Promise<{
    blueprintTemplates: ConnectionResult<InferSelectResult<BlueprintTemplateWithRelations, S>>;
}>;
/**
 * A shareable, versioned schema recipe for the blueprint marketplace. Templates define arrays of secure_table_provision + relation_provision inputs that together describe a complete domain schema (e.g. e-commerce, telemedicine, habit tracker). Templates are never executed directly — they are copied into a blueprint first via copy_template_to_blueprint(). Can be private (owner-only) or public (marketplace-visible).
 *
 * @example
 * ```ts
 * await prefetchBlueprintTemplatesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchBlueprintTemplatesQuery<S extends BlueprintTemplateSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, BlueprintTemplateFilter, BlueprintTemplateOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, BlueprintTemplateSelect>;
}): Promise<void>;
