import { Schema } from 'effect';
import type { Environment } from '../../../../../vendor/cel-js/lib/index.js';
type AnySchema = Schema.Schema<any, any, never>;
export declare const type: "com.shwfed.block.actions";
export declare const compatibilityDate: "2026-05-06";
export declare const metadata: {
    readonly name: "操作按钮";
    readonly icon: "fluent:cursor-click-20-regular";
    readonly w: {
        readonly initial: 8;
        readonly min: 8;
        readonly max: number;
    };
    readonly h: {
        readonly initial: 2;
        readonly min: 2;
        readonly max: number;
    };
};
export declare function schema(configure: (env: Environment) => void, _blockRef: AnySchema): Schema.Struct<{
    id: Schema.refine<string, typeof Schema.String>;
    type: Schema.tag<"com.shwfed.block.actions">;
    compatibilityDate: Schema.tag<"2026-05-06">;
    actions: Schema.Struct<{
        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>;
        groups: Schema.Array$<Schema.Struct<{
            id: Schema.refine<string, typeof Schema.String>;
            variant: Schema.optional<Schema.Literal<["default", "primary", "destructive", "ghost", "link"]>>;
        }>>;
        items: 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>>;
        kind: Schema.tag<"shwfed.component.action">;
    }>;
}>;
export declare function defaultBody(): Record<string, unknown>;
export type Value = Schema.Schema.Type<ReturnType<typeof schema>>;
export {};
