import { Schema } from 'effect';
import type { Environment } from '../../../../../vendor/cel-js/lib/index.js';
export declare const type: "com.shwfed.form.field.list";
export declare const compatibilityDate: "2026-05-13";
export declare const metadata: {
    readonly name: "列表";
    readonly icon: "fluent:list-20-regular";
    readonly w: {
        readonly initial: 12;
        readonly min: 4;
        readonly max: number;
    };
    readonly h: {
        readonly initial: 6;
        readonly min: 4;
        readonly max: number;
        readonly grow: true;
    };
    readonly inlineConfig: false;
};
export declare function schema(configure: (env: Environment) => void): Schema.refine<{
    readonly label?: readonly [{
        readonly locale: "zh";
        readonly message: string;
    }, ...{
        readonly locale: "en" | "ja" | "ko";
        readonly message: string;
    }[]] | undefined;
    readonly disabled?: string | undefined;
    readonly type: "com.shwfed.form.field.list";
    readonly id: string;
    readonly hidden?: string | undefined;
    readonly tooltip?: readonly [{
        readonly locale: "zh";
        readonly message: string;
    }, ...{
        readonly locale: "en" | "ja" | "ko";
        readonly message: string;
    }[]] | undefined;
    readonly required?: string | undefined;
    readonly locale?: readonly [{
        readonly locale: "zh";
        readonly message: string;
    }, ...{
        readonly locale: "en" | "ja" | "ko";
        readonly message: string;
    }[]] | undefined;
    readonly displayName?: string | undefined;
    readonly max?: number | undefined;
    readonly compatibilityDate: "2026-05-13";
    readonly min?: number | undefined;
    readonly unit: Readonly<{
        fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
        layouts: ReadonlyArray<import("../../../schema.js").LayoutSetValue>;
    }>;
    readonly binding?: string | undefined;
    readonly validations?: readonly {
        readonly message: readonly [{
            readonly locale: "zh";
            readonly message: string;
        }, ...{
            readonly locale: "en" | "ja" | "ko";
            readonly message: string;
        }[]];
        readonly warning?: boolean | undefined;
        readonly when: string;
    }[] | undefined;
    readonly addLabel?: readonly [{
        readonly locale: "zh";
        readonly message: string;
    }, ...{
        readonly locale: "en" | "ja" | "ko";
        readonly message: string;
    }[]] | undefined;
    readonly removeLabel?: readonly [{
        readonly locale: "zh";
        readonly message: string;
    }, ...{
        readonly locale: "en" | "ja" | "ko";
        readonly message: string;
    }[]] | undefined;
    readonly reorderable?: boolean | undefined;
}, Schema.Struct<{
    label: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
        locale: Schema.Literal<["zh"]>;
        message: Schema.SchemaClass<string, string, never>;
    }>], [Schema.Struct<{
        locale: Schema.Literal<["ja", "en", "ko"]>;
        message: Schema.SchemaClass<string, string, never>;
    }>]>>;
    tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
        locale: Schema.Literal<["zh"]>;
        message: Schema.SchemaClass<string, string, never>;
    }>], [Schema.Struct<{
        locale: Schema.Literal<["ja", "en", "ko"]>;
        message: Schema.SchemaClass<string, string, never>;
    }>]>>;
    binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
    addLabel: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
        locale: Schema.Literal<["zh"]>;
        message: Schema.SchemaClass<string, string, never>;
    }>], [Schema.Struct<{
        locale: Schema.Literal<["ja", "en", "ko"]>;
        message: Schema.SchemaClass<string, string, never>;
    }>]>>;
    removeLabel: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
        locale: Schema.Literal<["zh"]>;
        message: Schema.SchemaClass<string, string, never>;
    }>], [Schema.Struct<{
        locale: Schema.Literal<["ja", "en", "ko"]>;
        message: Schema.SchemaClass<string, string, never>;
    }>]>>;
    reorderable: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
    min: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
    max: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
    disabled: Schema.optional<Schema.Schema<string, string, never>>;
    locale: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
        locale: Schema.Literal<["zh"]>;
        message: Schema.SchemaClass<string, string, never>;
    }>], [Schema.Struct<{
        locale: Schema.Literal<["ja", "en", "ko"]>;
        message: Schema.SchemaClass<string, string, never>;
    }>]>>;
    unit: Schema.suspend<Readonly<{
        fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
        layouts: ReadonlyArray<import("../../../schema.js").LayoutSetValue>;
    }>, Readonly<{
        fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
        layouts: ReadonlyArray<import("../../../schema.js").LayoutSetValue>;
    }>, never>;
    id: Schema.refine<string, typeof Schema.String>;
    displayName: Schema.optional<Schema.SchemaClass<string, string, never>>;
    hidden: Schema.optional<Schema.Schema<string, string, never>>;
    required: Schema.optional<Schema.Schema<string, string, never>>;
    validations: Schema.optional<Schema.Array$<Schema.Struct<{
        when: Schema.Schema<string, string, never>;
        warning: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
        message: Schema.refine<readonly [{
            readonly locale: "zh";
            readonly message: string;
        }, ...{
            readonly locale: "en" | "ja" | "ko";
            readonly message: string;
        }[]], Schema.TupleType<readonly [Schema.Struct<{
            locale: Schema.Literal<["zh"]>;
            message: Schema.SchemaClass<string, string, never>;
        }>], [Schema.Struct<{
            locale: Schema.Literal<["ja", "en", "ko"]>;
            message: Schema.SchemaClass<string, string, never>;
        }>]>>;
    }>>>;
    type: Schema.Literal<["com.shwfed.form.field.list"]>;
    compatibilityDate: Schema.Literal<["2026-05-13"]>;
}>>;
export type Value = Schema.Schema.Type<ReturnType<typeof schema>>;
export declare function defaults(): Partial<Value>;
