/**
 * Function definitions — registered cloud functions with routing, queue, and retry configuration
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { PlatformFunctionDefinitionSelect, PlatformFunctionDefinitionWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformFunctionDefinitionSelect, PlatformFunctionDefinitionWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformFunctionDefinitionQueryKey: (id: string | number) => readonly ["platformfunctiondefinition", "detail", string | number];
/**
 * Function definitions — registered cloud functions with routing, queue, and retry configuration
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformFunctionDefinitionQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function usePlatformFunctionDefinitionQuery<S extends PlatformFunctionDefinitionSelect, TData = {
    platformFunctionDefinition: InferSelectResult<PlatformFunctionDefinitionWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformFunctionDefinitionSelect>;
} & Omit<UseQueryOptions<{
    platformFunctionDefinition: InferSelectResult<PlatformFunctionDefinitionWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Function definitions — registered cloud functions with routing, queue, and retry configuration
 *
 * @example
 * ```ts
 * const data = await fetchPlatformFunctionDefinitionQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchPlatformFunctionDefinitionQuery<S extends PlatformFunctionDefinitionSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformFunctionDefinitionSelect>;
}): Promise<{
    platformFunctionDefinition: InferSelectResult<PlatformFunctionDefinitionWithRelations, S> | null;
}>;
/**
 * Function definitions — registered cloud functions with routing, queue, and retry configuration
 *
 * @example
 * ```ts
 * await prefetchPlatformFunctionDefinitionQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchPlatformFunctionDefinitionQuery<S extends PlatformFunctionDefinitionSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformFunctionDefinitionSelect>;
}): Promise<void>;
