import type { FieldType } from '@univerjs/core';
export interface IBaseMenuFieldItem {
    id: string;
    name: string;
    type: FieldType;
    config?: Record<string, unknown>;
    hidden?: boolean;
    readonly?: boolean;
    system?: boolean;
    primary?: boolean;
}
export interface IBaseFormulaTableItem {
    id: string;
    name: string;
    current?: boolean;
    fields: IBaseMenuFieldItem[];
}
export interface IBaseMenuOption {
    value: string;
    label: string;
    field?: IBaseMenuFieldItem;
}
export interface IBaseSelectOption {
    id: string;
    name: string;
    color: string;
}
export interface IBaseFieldTypeCatalogItem {
    type: FieldType;
    name: string;
    section: 'Basic' | 'Business' | 'Advanced';
    isNew?: boolean;
    enabled?: boolean;
}
export interface IBaseFieldConfigSubmitInput {
    name: string;
    type: FieldType;
    config: Record<string, unknown>;
    defaultValue: unknown;
}
export interface IBasePeopleOption {
    id: string;
    name: string;
    avatar?: string;
}
export declare function normalizeInitialFieldName(value: unknown): string | undefined;
export declare function createDefaultBaseFieldConfig(type: FieldType): Record<string, unknown>;
export declare function getDefaultBaseFieldValue(type: FieldType, config: Record<string, unknown>): unknown;
export declare function supportsBaseFieldDefaultValue(type: FieldType): boolean;
export declare function normalizeBaseMenuOptions(options: unknown, type: FieldType, useFallback?: boolean): IBaseSelectOption[];
export declare function normalizeFieldSubmitConfig(type: FieldType, config: Record<string, unknown>): Record<string, unknown>;
export declare function isSelectOptionSelected(option: IBaseSelectOption, values: string[]): boolean;
export declare function filterOperandOptionValue(option: IBaseSelectOption): string;
export declare function fieldTypeName(type: FieldType, catalog: IBaseFieldTypeCatalogItem[]): string;
export declare function FieldSelect(props: {
    value: string;
    fields: IBaseMenuFieldItem[];
    predicate?: (field: IBaseMenuFieldItem) => boolean;
    placeholder?: string;
    className?: string;
    onChange: (value: string) => void;
}): import("react").JSX.Element;
export declare function FieldSelectLabel(props: {
    field: IBaseMenuFieldItem;
}): import("react").JSX.Element;
