import { DynamicFormHandlerProps, DynamicSection, InputProps } from '../../../../../ui/index.js';
type DynamicFieldsKeys = 'title' | 'subtitle' | 'linkText' | 'linkUrl' | 'linkSvg' | 'linkTarget' | 'linkFull' | 'videoUrl' | 'images' | 'description';
export type DynamicFieldsSection = Partial<{
    [key in DynamicFieldsKeys]: Partial<InputProps>;
}>;
export type DynamicSectionResult<J = any> = Partial<DynamicSection<J> & {
    title: string;
    subtitle: string;
    description: string;
    linkText: string;
    linkSvg: string;
    linkTarget: string;
    availableLanguages?: Array<{
        symbol: string;
        id: string;
        image: any[];
        main: boolean;
    }>;
}> & {
    Section(props: {
        children?: React.ReactNode;
        onSucess?: () => void;
    }): React.ReactNode;
};
export type DynamicSectionProps = {
    isGlobal?: boolean;
    editModeIsOutside?: boolean;
    fields?: DynamicFieldsSection;
    refSection: DynamicSection['ref'];
    customForm?: DynamicFormHandlerProps & {
        modal?: {
            styles?: React.CSSProperties;
        };
    };
    templates?: {
        VersionsElement?: {
            [key: string]: (props: any) => React.ReactNode;
        };
    };
};
export {};
