import * as React from "react"; import { ISelectionApi } from "./SelectionApi"; export declare function useSelection(): [{ id?: string; mode?: "edit" | "add"; }, ISelectionApi]; export interface ISelectionRenderPropArgs { selectedId?: string; selectionMode?: "edit" | "add"; selectionApi: ISelectionApi; } interface IProps { children: (injectedProps: ISelectionRenderPropArgs) => React.ReactNode; } export declare function Selection({ children }: IProps): JSX.Element; export {};