import { Signal } from '../../signal'; import { IfControlFlow } from '../../../symbols'; import { KeyBuilder } from '../../../common/key-builder/key-builder'; import { Renderable, VirtualElement } from '../../../types'; import { RenderFunction } from '../../dom-render/render'; interface IfProps { condition: Signal; then: Renderable; fallback?: Renderable; memo?: boolean; } declare function If(props: IfProps): VirtualElement; declare namespace If { var $$type: typeof IfControlFlow; } declare function renderIf(element: VirtualElement, container: HTMLElement, render: RenderFunction, key: KeyBuilder): HTMLElement | Text; export type { IfProps }; export { If, renderIf };