import { HttpClient } from "../../httpClient"; import { Rows } from "./rows"; import { PropertyType } from "../../types"; import { DocumentsAPIv1 } from "../documents"; export declare enum TagColors { PURPLE = "purple", ORANGE = "orange", RED = "red", YELLOW = "yellow", CYAN = "cyan", GREEN = "green", PINK = "pink", BLUE = "blue", BLACK = "black", GREY = "grey" } export type PropertyOptionCreate = { name: string; id?: string; color?: TagColors; }; export type PropertyCreate = Record; export type CreateParams = Omit[0], "type" | "text" | "state" | "properties"> & { properties?: PropertyCreate; }; export declare class DatabasesAPI { private documentsApi; rows: Rows; properties: { list: typeof DatabasesAPI.prototype.propList; }; constructor(httpClient: HttpClient); create(params: CreateParams): Promise>; private propList; }