import { IEntityContext, IQueryHookCallback, IQueryOptions, IQueryParams } from "@leight-core/leight"; import { ReactNode } from "react"; export interface IQueryProps { useQuery: IQueryHookCallback; request: TRequest; query?: TQuery; options?: IQueryOptions; /** * Actual children rendered when data are available. */ children?: (data: TResponse) => ReactNode; /** * Placeholder rendered when data are not available. */ placeholder?: () => ReactNode; context?: IEntityContext | null; onUpdate?: (entity: TResponse) => void; } export declare const Query: ({ useQuery, request, query, options, children, context, onUpdate, placeholder, }: IQueryProps) => JSX.Element;