import { Schema } from 'effect';
import type { Environment } from '../../../../../vendor/cel-js/lib/index.js';
export declare const type: "com.shwfed.form.field.numberrange";
export declare const compatibilityDate: "2026-04-28";
export declare const metadata: {
    readonly name: "数值范围";
    readonly icon: "fluent:arrow-bidirectional-left-right-20-regular";
    readonly w: {
        readonly initial: 8;
        readonly min: 4;
        readonly max: number;
    };
    readonly h: {
        readonly initial: 2;
        readonly min: 2;
        readonly max: 2;
    };
};
export declare function schema(configure: (env: Environment) => void): 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>;
    }>]>>;
    startPlaceholder: 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>;
    }>]>>;
    endPlaceholder: 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>;
    }>]>>;
    orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
    binding: Schema.optional<Schema.Union<[Schema.filter<typeof Schema.String>, Schema.filter<Schema.Tuple2<Schema.filter<typeof Schema.String>, Schema.filter<typeof Schema.String>>>]>>;
    disabled: Schema.optional<Schema.Schema<string, string, never>>;
    readonly: Schema.optional<Schema.Schema<string, string, never>>;
    derived: Schema.optional<Schema.Struct<{
        mode: Schema.Literal<["formula", "prefill"]>;
        expression: Schema.Schema<string, string, never>;
    }>>;
    precision: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
    roundingMode: Schema.optional<Schema.Literal<["round", "floor", "ceil"]>>;
    step: Schema.optional<Schema.refine<number, typeof Schema.Number>>;
    valueAsString: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
    min: Schema.optional<Schema.Schema<string, string, never>>;
    max: Schema.optional<Schema.Schema<string, string, never>>;
    rangeSeparatorIcon: Schema.optional<Schema.refine<string, typeof Schema.String>>;
    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.numberrange"]>;
    compatibilityDate: Schema.Literal<["2026-04-28"]>;
}>;
export type Value = Schema.Schema.Type<ReturnType<typeof schema>>;
export declare function defaults(): Partial<Value>;
