import type { IRole } from '@teable/core'; import type { IGetBaseVo, ICreateTableRo, CollaboratorType } from '@teable/openapi'; export declare class Base implements IGetBaseVo { id: string; name: string; spaceId: string; icon: string | null; role: IRole; collaboratorType?: CollaboratorType; restrictedAuthority?: boolean; constructor(base: IGetBaseVo); createTable(tableRo?: ICreateTableRo): Promise; createdTime?: string | undefined; lastModifiedTime?: string | undefined; createdBy?: string | undefined; lastModifiedBy?: string | undefined; autoNumber?: number | undefined; name?: string | undefined; permissions?: Record> | undefined; undeletable?: boolean | undefined; }[]; fields: { options: {} | { relationship: import("@teable/core").Relationship; foreignTableId: string; lookupFieldId: string; fkHostTableName: string; selfKeyName: string; foreignKeyName: string; filter?: import("@teable/core").IFilterSet | null | undefined; baseId?: string | undefined; isOneWay?: boolean | undefined; symmetricFieldId?: string | undefined; filterByViewId?: string | null | undefined; visibleFieldIds?: string[] | null | undefined; } | { expression: "countall({values})" | "counta({values})" | "count({values})" | "sum({values})" | "max({values})" | "min({values})" | "and({values})" | "or({values})" | "xor({values})" | "array_join({values})" | "array_unique({values})" | "array_compact({values})" | "concatenate({values})"; timeZone?: string | undefined; formatting?: { date: string; time: import("@teable/core").TimeFormatting; timeZone: string; } | { type: import("@teable/core").NumberFormattingType.Decimal; precision: number; } | { type: import("@teable/core").NumberFormattingType.Percent; precision: number; } | { symbol: string; type: import("@teable/core").NumberFormattingType.Currency; precision: number; } | undefined; showAs?: { type: import("@teable/core").SingleNumberDisplayType; color: import("@teable/core").Colors; showValue: boolean; maxValue: number; } | { type: import("@teable/core").MultiNumberDisplayType; color: import("@teable/core").Colors; } | { type: import("@teable/core").SingleLineTextDisplayType; } | undefined; } | { expression: string; timeZone?: string | undefined; formatting?: { date: string; time: import("@teable/core").TimeFormatting; timeZone: string; } | { type: import("@teable/core").NumberFormattingType.Decimal; precision: number; } | { type: import("@teable/core").NumberFormattingType.Percent; precision: number; } | { symbol: string; type: import("@teable/core").NumberFormattingType.Currency; precision: number; } | undefined; showAs?: { type: import("@teable/core").SingleNumberDisplayType; color: import("@teable/core").Colors; showValue: boolean; maxValue: number; } | { type: import("@teable/core").MultiNumberDisplayType; color: import("@teable/core").Colors; } | { type: import("@teable/core").SingleLineTextDisplayType; } | undefined; } | { formatting: { date: string; time: import("@teable/core").TimeFormatting; timeZone: string; }; defaultValue?: "now" | undefined; } | { defaultValue?: boolean | undefined; } | { showAs?: { type: import("@teable/core").SingleLineTextDisplayType; } | undefined; defaultValue?: string | undefined; } | { max: number; color: import("@teable/core").Colors.RedBright | import("@teable/core").Colors.TealBright | import("@teable/core").Colors.YellowBright; icon: import("@teable/core").RatingIcon; } | { defaultValue?: string | string[] | undefined; isMultiple?: boolean | undefined; shouldNotify?: boolean | undefined; } | { color: import("@teable/core").Colors; label: string; maxCount?: number | undefined; resetCount?: boolean | undefined; workflow?: { name?: string | undefined; id?: string | undefined; isActive?: boolean | undefined; } | null | undefined; } | { choices: { name: string; color: import("@teable/core").Colors; id: string; }[]; defaultValue?: string | string[] | undefined; preventAutoNewOptions?: boolean | undefined; } | { formatting: { type: import("@teable/core").NumberFormattingType.Decimal; precision: number; } | { type: import("@teable/core").NumberFormattingType.Percent; precision: number; } | { symbol: string; type: import("@teable/core").NumberFormattingType.Currency; precision: number; }; showAs?: { type: import("@teable/core").SingleNumberDisplayType; color: import("@teable/core").Colors; showValue: boolean; maxValue: number; } | { type: import("@teable/core").MultiNumberDisplayType; color: import("@teable/core").Colors; } | undefined; defaultValue?: number | undefined; } | { expression: "AUTO_NUMBER()"; } | { expression: "CREATED_TIME()"; formatting: { date: string; time: import("@teable/core").TimeFormatting; timeZone: string; }; } | { expression: "LAST_MODIFIED_TIME()"; formatting: { date: string; time: import("@teable/core").TimeFormatting; timeZone: string; }; }; type: import("@teable/core").FieldType; name: string; id: string; cellValueType: import("@teable/core").CellValueType; dbFieldType: import("@teable/core").DbFieldType; dbFieldName: string; description?: string | undefined; aiConfig?: { modelKey: string; type: import("@teable/core").FieldAIActionType.Extraction; sourceFieldId: string; isAutoFill?: boolean | null | undefined; attachPrompt?: string | undefined; } | { modelKey: string; type: import("@teable/core").FieldAIActionType.Summary; sourceFieldId: string; isAutoFill?: boolean | null | undefined; attachPrompt?: string | undefined; } | { modelKey: string; type: import("@teable/core").FieldAIActionType.Translation; sourceFieldId: string; targetLanguage: string; isAutoFill?: boolean | null | undefined; attachPrompt?: string | undefined; } | { modelKey: string; type: import("@teable/core").FieldAIActionType.Improvement; sourceFieldId: string; isAutoFill?: boolean | null | undefined; attachPrompt?: string | undefined; } | { modelKey: string; type: import("@teable/core").FieldAIActionType.Customization; prompt: string; isAutoFill?: boolean | null | undefined; attachPrompt?: string | undefined; attachmentFieldIds?: string[] | undefined; } | { modelKey: string; type: import("@teable/core").FieldAIActionType.ImageGeneration; sourceFieldId: string; isAutoFill?: boolean | null | undefined; attachPrompt?: string | undefined; n?: number | undefined; size?: string | undefined; quality?: import("@teable/core").ImageQuality | undefined; } | { modelKey: string; type: import("@teable/core").FieldAIActionType.Customization; prompt: string; isAutoFill?: boolean | null | undefined; attachPrompt?: string | undefined; attachmentFieldIds?: string[] | undefined; n?: number | undefined; size?: string | undefined; quality?: import("@teable/core").ImageQuality | undefined; } | { modelKey: string; type: import("@teable/core").FieldAIActionType.Extraction; sourceFieldId: string; isAutoFill?: boolean | null | undefined; attachPrompt?: string | undefined; } | { modelKey: string; type: import("@teable/core").FieldAIActionType.Customization; prompt: string; isAutoFill?: boolean | null | undefined; attachPrompt?: string | undefined; attachmentFieldIds?: string[] | undefined; } | { modelKey: string; type: import("@teable/core").FieldAIActionType.Tag; sourceFieldId: string; isAutoFill?: boolean | null | undefined; attachPrompt?: string | undefined; } | { modelKey: string; type: import("@teable/core").FieldAIActionType.Customization; prompt: string; isAutoFill?: boolean | null | undefined; attachPrompt?: string | undefined; attachmentFieldIds?: string[] | undefined; onlyAllowConfiguredOptions?: boolean | undefined; } | { modelKey: string; type: import("@teable/core").FieldAIActionType.Rating; sourceFieldId: string; isAutoFill?: boolean | null | undefined; attachPrompt?: string | undefined; } | { modelKey: string; type: import("@teable/core").FieldAIActionType.Customization; prompt: string; isAutoFill?: boolean | null | undefined; attachPrompt?: string | undefined; attachmentFieldIds?: string[] | undefined; } | { modelKey: string; type: import("@teable/core").FieldAIActionType.Classification; sourceFieldId: string; isAutoFill?: boolean | null | undefined; attachPrompt?: string | undefined; } | { modelKey: string; type: import("@teable/core").FieldAIActionType.Customization; prompt: string; isAutoFill?: boolean | null | undefined; attachPrompt?: string | undefined; attachmentFieldIds?: string[] | undefined; onlyAllowConfiguredOptions?: boolean | undefined; } | null | undefined; isLookup?: boolean | undefined; lookupOptions?: { relationship: import("@teable/core").Relationship; foreignTableId: string; lookupFieldId: string; fkHostTableName: string; selfKeyName: string; foreignKeyName: string; linkFieldId: string; filter?: import("@teable/core").IFilterSet | null | undefined; } | undefined; notNull?: boolean | undefined; unique?: boolean | undefined; isPrimary?: boolean | undefined; isComputed?: boolean | undefined; isPending?: boolean | undefined; hasError?: boolean | undefined; isMultipleCellValue?: boolean | undefined; recordRead?: boolean | undefined; recordCreate?: boolean | undefined; }[]; views: { createdTime: string; createdBy: string; type: import("@teable/core").ViewType; name: string; id: string; columnMeta: Record; description?: string | undefined; filter?: import("@teable/core").IFilterSet | null | undefined; sort?: { sortObjs: { order: import("@teable/core").SortFunc; fieldId: string; }[]; manualSort?: boolean | undefined; } | null | undefined; lastModifiedTime?: string | undefined; lastModifiedBy?: string | undefined; options?: { rowHeight?: import("@teable/core").RowHeightLevel | undefined; fieldNameDisplayLines?: number | undefined; frozenColumnCount?: number | undefined; } | { stackFieldId?: string | undefined; coverFieldId?: string | null | undefined; isCoverFit?: boolean | undefined; isFieldNameHidden?: boolean | undefined; isEmptyStackHidden?: boolean | undefined; } | { coverFieldId?: string | null | undefined; isCoverFit?: boolean | undefined; isFieldNameHidden?: boolean | undefined; } | { startDateFieldId?: string | null | undefined; endDateFieldId?: string | null | undefined; titleFieldId?: string | null | undefined; colorConfig?: { type: import("@teable/core").ColorConfigType; color?: import("@teable/core").Colors | null | undefined; fieldId?: string | null | undefined; } | null | undefined; } | { coverUrl?: string | undefined; logoUrl?: string | undefined; submitLabel?: string | undefined; } | { pluginId: string; pluginInstallId: string; pluginLogo: string; } | undefined; order?: number | undefined; group?: { order: import("@teable/core").SortFunc; fieldId: string; }[] | null | undefined; pluginId?: string | undefined; isLocked?: boolean | undefined; shareId?: string | undefined; enableShare?: boolean | undefined; shareMeta?: { password?: string | undefined; allowCopy?: boolean | undefined; includeHiddenField?: boolean | undefined; includeRecords?: boolean | undefined; submit?: { allow?: boolean | undefined; requireLogin?: boolean | undefined; } | undefined; } | undefined; }[]; dbTableName: string; description?: string | undefined; order?: number | undefined; icon?: string | undefined; lastModifiedTime?: string | undefined; defaultViewId?: string | undefined; }, any>>; deleteTable(tableId: string, permanent?: boolean): Promise>; }