import { vi, type MockedFunction } from 'vitest';

export const useControlledState = (): [boolean, MockedFunction<(value: boolean) => void>] => [
  false,
  vi.fn(),
];
