/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { render as inkRender } from 'ink-testing-library'; import type React from 'react'; import { LoadedSettings, type Settings } from '../config/settings.js'; import { type UIState } from '../ui/contexts/UIStateContext.js'; import { type Config } from 'sixth-cli-core'; export declare const render: (tree: React.ReactElement, terminalWidth?: number) => ReturnType; export declare const mockSettings: LoadedSettings; export declare const createMockSettings: (overrides: Partial) => LoadedSettings; export declare const renderWithProviders: (component: React.ReactElement, { shellFocus, settings, uiState: providedUiState, width, kittyProtocolEnabled, config, }?: { shellFocus?: boolean; settings?: LoadedSettings; uiState?: Partial; width?: number; kittyProtocolEnabled?: boolean; config?: Config; }) => ReturnType; export declare function renderHook(renderCallback: (props: Props) => Result, options?: { initialProps?: Props; wrapper?: React.ComponentType<{ children: React.ReactNode; }>; }): { result: { current: Result; }; rerender: (props?: Props) => void; unmount: () => void; };