/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import { CollectionField, FlowModel } from '@nocobase/flow-engine';
export type UiSchemaEnumItem = string | number | boolean | {
    label?: any;
    value?: any;
    color?: string;
    icon?: any;
};
type Option = {
    label: any;
    value: any;
} & Record<string, any>;
export declare function translateOptions(options: Option[], t: (s: string) => string): Option[];
export declare function enumToOptions(uiEnum: UiSchemaEnumItem[] | undefined, t: (s: string) => string): Option[] | undefined;
export declare function normalizeSelectRenderValue(value: unknown, props?: Record<string, any>): unknown;
export declare function getSelectedEnumLabels(value: any, fallbackOptions?: Option[]): Array<{
    value: any;
    label: any;
}>;
export declare function ensureOptionsFromUiSchemaEnumIfAbsent(model: FlowModel, collectionField: CollectionField): boolean;
export {};
