import { Schema } from 'effect';
import type { ColumnDef } from '@tanstack/vue-table';
import type { Environment } from '../../../../../vendor/cel-js/lib/index.js';
import type { ColumnDefDeps, MigrateFn, MigrateSource } from '../../../utils/resolve.js';
export declare const type: "com.shwfed.table.column.switch.remote";
export declare const compatibilityDate: "2026-05-13";
export declare const metadata: {
    readonly name: "开关（远程）";
    readonly icon: "fluent:toggle-left-20-regular";
};
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
    align: Schema.optionalWith<Schema.Literal<["left", "center", "right"]>, {
        default: () => "center";
    }>;
    disabled: Schema.optional<Schema.Schema<string, string, never>>;
    onChange: Schema.optional<Schema.Schema<string, string, never>>;
    successMessage: Schema.optional<Schema.Schema<string, string, never>>;
    triggers: Schema.optional<Schema.Array$<Schema.Struct<{
        target: Schema.refine<string, typeof Schema.String>;
        operation: Schema.SchemaClass<string, string, never>;
    }>>>;
    title: 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>;
    }>]>;
    accessor: Schema.Schema<string, string, never>;
    enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
    sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
    size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
    grow: Schema.optional<Schema.SchemaClass<boolean, boolean, 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>;
    }>]>>;
    id: Schema.refine<string, typeof Schema.String>;
    groupId: Schema.optional<typeof Schema.UUID>;
    type: Schema.Literal<["com.shwfed.table.column.switch.remote"]>;
    compatibilityDate: Schema.Literal<["2026-05-13"]>;
}>;
export type Value = Schema.Schema.Type<ReturnType<typeof schema>>;
export declare function defaults(): Partial<Value>;
/**
 * Adopts values that were stored under the pre-split `com.shwfed.table.column.switch`
 * type at the same `compatibilityDate`. The field shape is byte-identical to
 * this entry's schema — only the discriminator changes. Migration declarations
 * live exclusively on this (new) entry; the old folder was removed and is
 * never touched by this rewrite.
 */
export declare const migrateFrom: ReadonlyArray<MigrateSource>;
export declare const migrate: MigrateFn;
export declare function toColumnDef(value: Value, { getLocaleText, $cel, inheritedContext }: ColumnDefDeps): Partial<ColumnDef<unknown, unknown>>;
