import type { Context } from '../mixins/state'; import { Root } from '../types'; export declare type Ref = { current: T; }; export declare type Refs = { [K in keyof T]-?: NonNullable extends Element ? Ref : never; }; export declare const refs: ($: Context & T) => { ref: Refs & T>; }; export declare const Ref: (state: T) => Refs;