import type { Component, Snippet } from 'svelte'; import type { ContainerWidth, ScrollerVideoForegroundPosition } from '../@types/global'; interface ForegroundProps { id?: string; class?: string; startTime?: number; endTime?: number; children?: Snippet; backgroundColour?: string; width?: ContainerWidth; position?: ScrollerVideoForegroundPosition | string; text?: string; Foreground?: Component; } /** A timed caption or overlay that fades in and out over a parent ScrollerVideo. Used inside ScrollerVideo. */ declare const ScrollerVideoForeground: Component; type ScrollerVideoForeground = ReturnType; export default ScrollerVideoForeground;