import { ApolloError } from "apollo-client"; import { DocumentNode } from "graphql"; import * as React from "react"; interface IProps { selectionMode?: "edit" | "add"; selectedId?: string; rows?: Array<{ id: string | number; }>; query?: DocumentNode; dataAccessor?: string; children: (data: any, options: { selectionMode: "edit" | "add"; }) => React.ReactNode; components?: { error?: React.ComponentType<{ error: ApolloError; }>; }; } export declare function Selected(props: IProps): JSX.Element | null; export {};