import { Signal } from '../../signal'; import { VirtualElement } from '../../../types'; import { RenderFunction } from '../../dom-render/render'; import { KeyBuilder } from '../../../common/key-builder/key-builder'; interface SwitchProps { condition: Signal; memoAll?: boolean; } interface CaseProps { value: unknown | ((value: unknown) => boolean); memo?: boolean; } interface DefaultProps { memo?: boolean; } export declare function renderSwitch(element: VirtualElement, container: HTMLElement, render: RenderFunction, key: KeyBuilder): HTMLElement | Text; export declare const Switch: (props: SwitchProps, children?: VirtualElement[]) => VirtualElement; export declare const Case: (props: CaseProps, children?: VirtualElement[]) => VirtualElement; export declare const Default: (props: DefaultProps, children?: VirtualElement[]) => VirtualElement; export type { SwitchProps, CaseProps, DefaultProps };