import { BindableParams, Bindable } from '@zag-js/core';
import { Accessor } from 'solid-js';

declare function createBindable<T>(props: Accessor<BindableParams<T>>): Bindable<T>;
declare namespace createBindable {
    var cleanup: (fn: VoidFunction) => void;
    var ref: <T>(defaultValue: T) => {
        get: () => T;
        set: (next: T) => void;
    };
}

export { createBindable };
