import { telem } from '../../../telem/aether';
import { aether } from '../../../aether/aether';
import { z } from 'zod';

export declare const buttonStateZ: z.ZodObject<{
    trigger: z.ZodNumber;
    sink: z.ZodDefault<z.ZodOptional<z.ZodObject<{
        type: z.ZodString;
        props: z.ZodAny;
        variant: z.ZodLiteral<"sink">;
        transfer: z.ZodOptional<z.ZodArray<z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, "many">>;
        valueType: z.ZodLiteral<"boolean">;
    }, "strip", z.ZodTypeAny, {
        type: string;
        valueType: "boolean";
        variant: "sink";
        props?: any;
        transfer?: ArrayBuffer[] | undefined;
    }, {
        type: string;
        valueType: "boolean";
        variant: "sink";
        props?: any;
        transfer?: ArrayBuffer[] | undefined;
    }>>>;
}, "strip", z.ZodTypeAny, {
    trigger: number;
    sink: {
        type: string;
        valueType: "boolean";
        variant: "sink";
        props?: any;
        transfer?: ArrayBuffer[] | undefined;
    };
}, {
    trigger: number;
    sink?: {
        type: string;
        valueType: "boolean";
        variant: "sink";
        props?: any;
        transfer?: ArrayBuffer[] | undefined;
    } | undefined;
}>;
interface InternalState {
    sink: telem.BooleanSink;
}
export declare class Button extends aether.Leaf<typeof buttonStateZ, InternalState> {
    static readonly TYPE = "Button";
    schema: z.ZodObject<{
        trigger: z.ZodNumber;
        sink: z.ZodDefault<z.ZodOptional<z.ZodObject<{
            type: z.ZodString;
            props: z.ZodAny;
            variant: z.ZodLiteral<"sink">;
            transfer: z.ZodOptional<z.ZodArray<z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, "many">>;
            valueType: z.ZodLiteral<"boolean">;
        }, "strip", z.ZodTypeAny, {
            type: string;
            valueType: "boolean";
            variant: "sink";
            props?: any;
            transfer?: ArrayBuffer[] | undefined;
        }, {
            type: string;
            valueType: "boolean";
            variant: "sink";
            props?: any;
            transfer?: ArrayBuffer[] | undefined;
        }>>>;
    }, "strip", z.ZodTypeAny, {
        trigger: number;
        sink: {
            type: string;
            valueType: "boolean";
            variant: "sink";
            props?: any;
            transfer?: ArrayBuffer[] | undefined;
        };
    }, {
        trigger: number;
        sink?: {
            type: string;
            valueType: "boolean";
            variant: "sink";
            props?: any;
            transfer?: ArrayBuffer[] | undefined;
        } | undefined;
    }>;
    afterUpdate(): Promise<void>;
    render(): void;
    afterDelete(): Promise<void>;
    private internalAfterDelete;
}
export declare const REGISTRY: aether.ComponentRegistry;
export {};
//# sourceMappingURL=button.d.ts.map