import * as React from "react"; import { GenericPlugin as Entity, IGenericPluginState as Data } from "@daostack/arc.js"; import { ArcConfig as ProtocolConfig, Component, ComponentLogs, ComponentProps, Plugin } from "../../../"; interface RequiredProps extends ComponentProps { id?: string | Entity; } interface InferredProps extends RequiredProps { config: ProtocolConfig; id: string | Entity; } declare class InferredGenericPlugin extends Component { protected createEntity(): Entity; static get Entity(): (props: import("../../../runtime/ContextFeed").Props) => JSX.Element; static get Data(): (props: import("../../../runtime/ContextFeed").Props) => JSX.Element; static get Logs(): (props: import("../../../runtime/ContextFeed").Props) => JSX.Element; static EntityContext: React.Context; static DataContext: React.Context; static LogsContext: React.Context; } declare function useGenericPlugin(): [Data | undefined, Entity | undefined]; declare class GenericPlugin extends React.Component { render(): JSX.Element; static get Entity(): (props: import("../../../runtime/ContextFeed").Props) => JSX.Element; static get Data(): (props: import("../../../runtime/ContextFeed").Props) => JSX.Element; static get Logs(): (props: import("../../../runtime/ContextFeed").Props) => JSX.Element; } export default Plugin; export { GenericPlugin, InferredGenericPlugin, Entity as GenericPluginEntity, Data as GenericPluginData, useGenericPlugin, };