import React from 'react';
import { FormRelationRecord } from '../../serve';
export interface ExtensionFormTabContentProps {
    formId: number;
    domain: string;
    token: string;
    locale: string;
    tenantAccountId?: number;
    onDirtyChange?: (isDirty: boolean) => void;
    onLoad?: () => void;
    onCancel?: () => void;
    getText: (key: string) => string;
    tabLabel: string;
    prefix: string;
    relationList: FormRelationRecord[];
    refreshRelationList?: () => Promise<void> | void;
}
export declare type ExtensionFormTabContentRef = {
    reset: () => void;
};
declare type MessageData = {
    form_id: number;
    form_record_id?: number;
    [key: string]: any;
};
export interface IframeMessage {
    type: string;
    data?: MessageData;
}
declare const ExtensionFormTabContent: React.ForwardRefExoticComponent<ExtensionFormTabContentProps & React.RefAttributes<ExtensionFormTabContentRef>>;
export default ExtensionFormTabContent;
