import { Schema } from 'effect';
import type { Environment } from '../../../../../vendor/cel-js/lib/index.js';
export declare const type: "com.shwfed.form.field.actions";
export declare const compatibilityDate: "2026-04-24";
export declare const metadata: {
    readonly name: "操作";
    readonly icon: "fluent:cursor-click-20-regular";
    readonly w: {
        readonly initial: 8;
        readonly min: 4;
        readonly max: number;
    };
    readonly h: {
        readonly initial: 2;
        readonly min: 2;
        readonly max: number;
    };
    readonly inlineConfig: false;
};
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
    groups: Schema.optionalWith<Schema.Array$<Schema.Struct<{
        id: Schema.refine<string, typeof Schema.String>;
        variant: Schema.optional<Schema.Literal<["default", "primary", "destructive", "ghost", "link"]>>;
    }>>, {
        default: () => never[];
    }>;
    items: Schema.optionalWith<Schema.Array$<Schema.Schema<import("../../../../actions/schema.js").RegistryItemValue | {
        readonly disabled?: string | undefined;
        readonly id: string;
        readonly title: readonly [{
            readonly locale: "zh";
            readonly message: string;
        }, ...{
            readonly locale: "en" | "ja" | "ko";
            readonly message: string;
        }[]];
        readonly icon?: string | undefined;
        readonly hidden?: string | undefined;
        readonly tooltip?: readonly [{
            readonly locale: "zh";
            readonly message: string;
        }, ...{
            readonly locale: "en" | "ja" | "ko";
            readonly message: string;
        }[]] | undefined;
        readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
        readonly action?: any;
        readonly groupId: string;
        readonly hideTitle?: boolean | undefined;
    } | {
        readonly id: string;
        readonly title: readonly [{
            readonly locale: "zh";
            readonly message: string;
        }, ...{
            readonly locale: "en" | "ja" | "ko";
            readonly message: string;
        }[]];
        readonly icon?: string | undefined;
        readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
            readonly disabled?: string | undefined;
            readonly id: string;
            readonly title: readonly [{
                readonly locale: "zh";
                readonly message: string;
            }, ...{
                readonly locale: "en" | "ja" | "ko";
                readonly message: string;
            }[]];
            readonly icon?: string | undefined;
            readonly hidden?: string | undefined;
            readonly tooltip?: readonly [{
                readonly locale: "zh";
                readonly message: string;
            }, ...{
                readonly locale: "en" | "ja" | "ko";
                readonly message: string;
            }[]] | undefined;
            readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
            readonly action?: any;
        })[];
        readonly groupId: string;
        readonly hideTitle?: boolean | undefined;
    }, import("../../../../actions/schema.js").RegistryItemValue | {
        readonly id: string;
        readonly title: readonly [{
            readonly locale: "zh";
            readonly message: string;
        }, ...{
            readonly locale: "en" | "ja" | "ko";
            readonly message: string;
        }[]];
        readonly groupId: string;
        readonly disabled?: string | undefined;
        readonly icon?: string | undefined;
        readonly hidden?: string | undefined;
        readonly tooltip?: readonly [{
            readonly locale: "zh";
            readonly message: string;
        }, ...{
            readonly locale: "en" | "ja" | "ko";
            readonly message: string;
        }[]] | undefined;
        readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
        readonly action?: any;
        readonly hideTitle?: boolean | undefined;
    } | {
        readonly id: string;
        readonly title: readonly [{
            readonly locale: "zh";
            readonly message: string;
        }, ...{
            readonly locale: "en" | "ja" | "ko";
            readonly message: string;
        }[]];
        readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
            readonly id: string;
            readonly title: readonly [{
                readonly locale: "zh";
                readonly message: string;
            }, ...{
                readonly locale: "en" | "ja" | "ko";
                readonly message: string;
            }[]];
            readonly disabled?: string | undefined;
            readonly icon?: string | undefined;
            readonly hidden?: string | undefined;
            readonly tooltip?: readonly [{
                readonly locale: "zh";
                readonly message: string;
            }, ...{
                readonly locale: "en" | "ja" | "ko";
                readonly message: string;
            }[]] | undefined;
            readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
            readonly action?: any;
        })[];
        readonly groupId: string;
        readonly icon?: string | undefined;
        readonly hideTitle?: boolean | undefined;
    }, never>>, {
        default: () => never[];
    }>;
    size: Schema.optionalWith<Schema.Literal<["default", "sm", "xs"]>, {
        default: () => "default";
    }>;
    gap: Schema.optionalWith<Schema.filter<Schema.filter<typeof Schema.Number>>, {
        default: () => number;
    }>;
    style: Schema.optional<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.actions"]>;
    compatibilityDate: Schema.Literal<["2026-04-24"]>;
}>;
export type Value = Schema.Schema.Type<ReturnType<typeof schema>>;
