import * as React from "react";
import { ScopeContext } from "./ScopeContext";
import { FormEvent } from "./EventBus";
export declare type SubscriberProps = {
    field?: string | string[] | {
        (ev: FormEvent): boolean;
    };
    children(scope: ScopeContext): React.ReactNode;
};
export declare const Subscriber: React.ForwardRefExoticComponent<{
    children?: React.ReactNode;
} & SubscriberProps & React.RefAttributes<any>>;
