import { type Atom } from "@cn-ui/reactive";
import type { PropSlot } from "../table/defineTable";
import "./form-core.css";
import type { RootColumnDef } from "./utils";
export interface FormCoreProps<T, D> {
    "v-model": Atom<any>;
    originData?: T;
    index?: number;
    config: RootColumnDef<T, D>;
    disabled?: boolean;
    wrap?: boolean;
    span?: number;
    showLabel?: boolean;
    errorMessage?: string;
}
export declare function FormCore<T, D>(props: FormCoreProps<T, D>): import("solid-js").JSX.Element;
export declare const extendsFormCoreSlotProp: (props: {
    /** 无值时的提示 */
    placeholder?: PropSlot<string>;
    /** 禁止操作 */
    disabled?: PropSlot<boolean>;
    /** 只读状态, 保证控件不会被输入控制 */
    readonly?: PropSlot<boolean>;
    /** 强制必填 */
    required?: PropSlot<boolean>;
}) => {
    [k: string]: string | boolean;
};
