import { DataSourceAdapterType, FilterItem, RelationalDatabaseSchema, RelationalDatabaseSchemaColumn, ContentHint } from "@kottster/common"; import { DataSourceAdapter } from "../../models/dataSourceAdapter.model"; import { Knex } from "knex"; export declare class KnexTedious extends DataSourceAdapter { protected client: Knex; type: DataSourceAdapterType; constructor(client: Knex); processColumn(column: RelationalDatabaseSchemaColumn): { isArray: boolean; returnedJsType: "string" | "number" | "boolean" | "object" | "array" | "date" | "buffer"; returnedAsArray: boolean; contentHint: ContentHint | undefined; fieldInput: { asArray: boolean; type: "input"; maxLength?: number; } | { asArray: boolean; type: "numberInput"; allowDecimal?: boolean; } | { asArray: boolean; type: "datePicker"; } | { asArray: boolean; type: "dateTimePicker"; timeWithSeconds?: boolean; } | { asArray: boolean; type: "timePicker"; withSeconds?: boolean; } | { asArray: boolean; type: "textarea"; maxLength?: number; autoSize?: boolean; minRows?: number; maxRows?: number; } | { asArray: boolean; type: "select"; options?: import("@kottster/common").SelectOption[]; } | { asArray: boolean; type: "checkbox"; } | { asArray: boolean; type: "recordSelect"; } | { asArray: boolean; type: "custom"; renderComponent?: (params: { value: any; values: Record; record: Record | null; updateFieldValue: (key: string, value: any) => void; meta: { hasError: boolean; readOnly: boolean; }; }) => any; }; }; prepareRecordValue(value: any, columnSchema: RelationalDatabaseSchemaColumn): any; prepareRecordValueBeforeUpsert(value: any, columnSchema: RelationalDatabaseSchemaColumn): any; getSearchBuilder(searchableColumns: string[], searchValue: string): (builder: Knex.QueryBuilder) => void; applyFilterCondition(builder: Knex.QueryBuilder, filterItem: FilterItem, columnReference: string): void; getDatabaseTableCount(): Promise; getDatabaseSchemaRaw(): Promise; }