import { OnesTableAttachmentHelper, OnesTableCallbacks, OnesTableSettings } from '../@ones-table/common';
import { GC } from '../@ones-table/core';
import { TableMenubar, TableToolbar, TableTooltip } from '../@ones-table/ui';
import './style.scss';
import FormulaInput from './formula-input';
export * from '../@ones-table/core';
export * from '../@ones-table/ui';
export * from '../@ones-table/common';
export interface CreateOnesTableOptions {
    server: string;
    debug?: boolean;
    token: string;
    colors: string[];
    menubar?: boolean;
    toolbar?: boolean;
    formula?: boolean;
    statusbar?: boolean;
    settings?: OnesTableSettings;
    lang?: 'zh-cn' | 'en-us' | 'ja-jp';
    license?: string;
    callbacks?: OnesTableCallbacks;
    attachmentHelper?: OnesTableAttachmentHelper;
    limit?: {
        image?: number;
    };
}
export declare function createRealtimeOnesTable(parent: HTMLElement, kbId: string, docId: string, options: CreateOnesTableOptions): Promise<{
    table: import("@ones-table/core").RealtimeTableDocument;
    toolbar: TableToolbar | undefined;
    tooltip: TableTooltip | undefined;
    formula: FormulaInput | undefined;
    menubar: TableMenubar | undefined;
    statusbar: GC.Spread.Sheets.StatusBar.StatusBar | undefined;
}>;
export declare function createReadonlyOnesTable(parent: HTMLElement, kbId: string, docId: string, version: number | 'draft' | 'latest', options: CreateOnesTableOptions): Promise<{
    table: import("@ones-table/core/src/table-document/readonly-table-document").ReadonlyTableDocument;
    tooltip: undefined;
    formula: FormulaInput | undefined;
    statusbar: GC.Spread.Sheets.StatusBar.StatusBar | undefined;
}>;
