import React, { ReactNode } from 'react';
import { FormDisplay } from '@formio/core';
interface EnterpriseFormBuilderContext {
    licenseKey: string;
    tag: string;
    project: any;
    roles: Record<string, any>;
    Formio: any;
    projectUrl: string;
    isAuthenticated: boolean;
}
export interface FormBuilderContext extends EnterpriseFormBuilderContext {
    getBulderOptions: (displayType: FormDisplay) => {
        editJson: boolean;
        builder: Object;
        editForm: Object;
    };
}
interface EnterpriseFormBuilderProviderProps {
    licenseKey: string;
    tag: string;
    children: ReactNode;
    formioContext?: any;
}
declare const EnterpriseFormBuilderContext: React.Context<EnterpriseFormBuilderContext | undefined>;
export declare const EnterpriseFormBuilderProvider: React.FC<EnterpriseFormBuilderProviderProps>;
export declare function useEnterpriseFormBuilder(): {
    getBuilderOptions: (displayType: FormDisplay) => {
        editJson: boolean;
        builder?: Object;
        editForm?: Object;
    };
    licenseKey: string;
    tag: string;
    project: any;
    roles: Record<string, any>;
    Formio: any;
    projectUrl: string;
    isAuthenticated: boolean;
};
export {};
