/**
 * Join table binding function definitions to API endpoints with per-binding alias and config
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { PlatformFunctionApiBindingSelect, PlatformFunctionApiBindingWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformFunctionApiBindingSelect, PlatformFunctionApiBindingWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformFunctionApiBindingQueryKey: (id: string | number) => readonly ["platformfunctionapibinding", "detail", string | number];
/**
 * Join table binding function definitions to API endpoints with per-binding alias and config
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformFunctionApiBindingQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function usePlatformFunctionApiBindingQuery<S extends PlatformFunctionApiBindingSelect, TData = {
    platformFunctionApiBinding: InferSelectResult<PlatformFunctionApiBindingWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformFunctionApiBindingSelect>;
} & Omit<UseQueryOptions<{
    platformFunctionApiBinding: InferSelectResult<PlatformFunctionApiBindingWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Join table binding function definitions to API endpoints with per-binding alias and config
 *
 * @example
 * ```ts
 * const data = await fetchPlatformFunctionApiBindingQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchPlatformFunctionApiBindingQuery<S extends PlatformFunctionApiBindingSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformFunctionApiBindingSelect>;
}): Promise<{
    platformFunctionApiBinding: InferSelectResult<PlatformFunctionApiBindingWithRelations, S> | null;
}>;
/**
 * Join table binding function definitions to API endpoints with per-binding alias and config
 *
 * @example
 * ```ts
 * await prefetchPlatformFunctionApiBindingQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchPlatformFunctionApiBindingQuery<S extends PlatformFunctionApiBindingSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformFunctionApiBindingSelect>;
}): Promise<void>;
