/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import { Collection, CollectionField, FlowEngine, FlowModel, SingleRecordResource } from '@nocobase/flow-engine';
import React from 'react';
export declare const QUICK_EDIT_POPOVER_MAX_HEIGHT = "calc(100vh - 96px)";
export declare const QUICK_EDIT_FORM_MAX_HEIGHT = "calc(100vh - 160px)";
export declare const QUICK_EDIT_MARKDOWN_HEIGHT = "min(480px, calc(100vh - 320px))";
export declare function getQuickEditFieldProps(collectionField: CollectionField, fieldProps?: Record<string, any>): {
    [x: string]: any;
};
export declare class QuickEditFormModel extends FlowModel {
    fieldPath: string;
    resource: SingleRecordResource;
    collection: Collection;
    now: number;
    viewContainer: any;
    __onSubmitSuccess: any;
    _fieldProps: any;
    _onOk: any;
    get form(): any;
    useHooksBeforeRender(): void;
    static open(options: {
        flowEngine: FlowEngine;
        target: any;
        dataSourceKey: string;
        collectionName: string;
        fieldPath: string;
        record: any;
        filterByTk?: string;
        onSuccess?: (values: any) => void;
        fieldProps?: any;
        sourceFieldModelUid?: string;
        onOk?: (values: any) => void;
    }): Promise<void>;
    onInit(options: any): void;
    addAppends(fieldPath: string, refresh?: boolean): void;
    render(): React.JSX.Element;
}
