import type { FieldType, LocaleService } from '@univerjs/core';
import type { BaseCellEditorInputShape, IBaseCellEditorCommonProps, IBaseCellEditorOption, IBaseLinkCellValue } from './editor-types';
export declare const editorShellClass: string;
export declare const inlineEditorShellClass = "univer-relative univer-grid univer-h-full univer-w-full univer-overflow-hidden univer-bg-transparent univer-text-sm univer-text-gray-900 dark:!univer-text-gray-100";
export declare const contactInlineEditorShellClass = "univer-relative univer-grid univer-h-full univer-w-full univer-overflow-visible univer-bg-transparent univer-text-sm univer-text-gray-900 dark:!univer-text-gray-100";
export declare const contactInlineEditorErrorLabelClass = "\n  univer-pointer-events-none univer-absolute univer-left-0 univer-top-full univer-z-[1] univer-box-border univer-block\n  univer-w-full univer-max-w-full univer-overflow-hidden univer-text-ellipsis univer-whitespace-nowrap\n  univer-rounded-b-sm univer-border univer-border-t-0 univer-border-amber-200 univer-bg-amber-50/95 univer-px-1.5\n  univer-py-0.5 univer-text-left univer-text-xs univer-leading-4 univer-text-amber-600 univer-shadow-sm\n  dark:!univer-border-amber-500/50 dark:!univer-bg-amber-950/95 dark:!univer-text-amber-300\n";
export declare const inputClass: string;
export declare const inlineInputBaseClass: string;
export declare const inlineInputErrorClass = "univer-border-amber-300 focus:univer-border-amber-500 dark:!univer-border-amber-400 dark:focus:!univer-border-amber-500";
export declare function inlineInputClass(shape: BaseCellEditorInputShape | undefined): string;
export declare function initialEditorText({ initialQuery, value }: Pick<IBaseCellEditorCommonProps<unknown>, 'initialQuery' | 'value'>): string;
export declare function readLinkEditorValue(value: string | IBaseLinkCellValue | null): IBaseLinkCellValue;
export declare function createLinkEditorValue(text: string, url: string): IBaseLinkCellValue | null;
export declare function normalizeLinkEditorUrl(value: string): string;
export declare function validateContactValue(type: FieldType, value: string, localeService: LocaleService): string | null;
export declare function parseNumberEditorValue(value: string, min: number, max: number): number | null;
export declare function filterOptions(options: IBaseCellEditorOption[], query: string): IBaseCellEditorOption[];
export declare function clampIndex(index: number, length: number): number;
