import { Schema } from 'effect';
import type { Environment } from '../../../../../vendor/cel-js/lib/index.js';
export declare const type: "com.shwfed.actions.button.http.request.json.confirm";
export declare const compatibilityDate: "2026-04-18";
export declare const metadata: {
    readonly name: "网络请求（JSON + 确认）";
    readonly icon: "fluent:shield-checkmark-20-regular";
};
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
    type: Schema.Literal<["com.shwfed.actions.button.http.request.json.confirm"]>;
    compatibilityDate: Schema.Literal<["2026-04-18"]>;
    expression: Schema.Schema<string, string, never>;
    before: Schema.optional<Schema.Array$<Schema.Struct<{
        target: Schema.refine<string, typeof Schema.String>;
        operation: Schema.SchemaClass<string, string, never>;
    }>>>;
    markdown: 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>;
    }>]>;
    icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
    color: Schema.optional<Schema.SchemaClass<string, string, never>>;
    messageExpression: Schema.optional<Schema.Schema<string, string, never>>;
    resultExpression: Schema.optional<Schema.Schema<string, string, never>>;
    onSuccess: Schema.optional<Schema.Array$<Schema.Struct<{
        target: Schema.refine<string, typeof Schema.String>;
        operation: Schema.SchemaClass<string, string, never>;
    }>>>;
    onWarning: Schema.optional<Schema.Array$<Schema.Struct<{
        target: Schema.refine<string, typeof Schema.String>;
        operation: Schema.SchemaClass<string, string, never>;
    }>>>;
    onError: Schema.optional<Schema.Array$<Schema.Struct<{
        target: Schema.refine<string, typeof Schema.String>;
        operation: Schema.SchemaClass<string, string, never>;
    }>>>;
    onInfo: Schema.optional<Schema.Array$<Schema.Struct<{
        target: Schema.refine<string, typeof Schema.String>;
        operation: Schema.SchemaClass<string, string, never>;
    }>>>;
}>;
export type Value = Schema.Schema.Type<ReturnType<typeof schema>>;
