import React from 'react';
import { Schema } from '@sanity/types';
declare type Props = {
    value: any | null;
    schema: Schema;
    patchChannel: any;
    children: React.ReactElement;
};
declare function SanityFormBuilderContext(props: Props): React.JSX.Element;
declare namespace SanityFormBuilderContext {
    var createPatchChannel: () => {
        receiveEvent: (event: any) => void;
        onPatch: (subscriber: import("nano-pubsub").Subscriber<{
            snapshot: any;
            patches: import("../patch/types").Patch[];
        }>) => () => void;
    };
}
export default SanityFormBuilderContext;
//# sourceMappingURL=SanityFormBuilderContext.d.ts.map