/**
 * Resource definitions — templates for resource kinds declaring default spec and secret/config requirements
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { PlatformResourceDefinitionSelect, PlatformResourceDefinitionWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformResourceDefinitionSelect, PlatformResourceDefinitionWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformResourceDefinitionQueryKey: (id: string | number) => readonly ["platformresourcedefinition", "detail", string | number];
/**
 * Resource definitions — templates for resource kinds declaring default spec and secret/config requirements
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformResourceDefinitionQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function usePlatformResourceDefinitionQuery<S extends PlatformResourceDefinitionSelect, TData = {
    platformResourceDefinition: InferSelectResult<PlatformResourceDefinitionWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceDefinitionSelect>;
} & Omit<UseQueryOptions<{
    platformResourceDefinition: InferSelectResult<PlatformResourceDefinitionWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Resource definitions — templates for resource kinds declaring default spec and secret/config requirements
 *
 * @example
 * ```ts
 * const data = await fetchPlatformResourceDefinitionQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchPlatformResourceDefinitionQuery<S extends PlatformResourceDefinitionSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceDefinitionSelect>;
}): Promise<{
    platformResourceDefinition: InferSelectResult<PlatformResourceDefinitionWithRelations, S> | null;
}>;
/**
 * Resource definitions — templates for resource kinds declaring default spec and secret/config requirements
 *
 * @example
 * ```ts
 * await prefetchPlatformResourceDefinitionQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchPlatformResourceDefinitionQuery<S extends PlatformResourceDefinitionSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceDefinitionSelect>;
}): Promise<void>;
