import { type Ref } from 'vue'; /** * Configuration for the {@link useTwoFrameRefToggle} composable. * * - `direction` (default: "one-way"): The order in which the refs will be updated, * depending on whether they are being toggled true or false. * - `"one-way"`: refA -> refB, always. * - `"reverse"`: refA -> refB, if true. refB -> refA, if false. * - `defaultValue` (default: false): The initial value to set the refs as. */ type UseTwoFrameRefToggleOptions = { direction?: 'one-way' | 'reverse'; defaultValue?: boolean; }; /** * Returns two boolean refs and an `update` method that accepts a boolean that the * refs will be updated to. The setting of the ref values is staggered, with one * happening one re-paint after the first. * * Why? This sort of one-two-step can be very useful in certain scenarios - like * when CSS properties need to be applied in a specific order (e.x. initial state, * and then some kind of transition). */ export declare function useTwoFrameRefToggle(options?: UseTwoFrameRefToggleOptions): [refA: Ref, refB: Ref, updateMethod: (value: boolean) => void]; export {};