export function getVideoUrl(localValue: unknown): string {
  return (localValue as { url?: string })?.url ?? '';
}

export function haveVideoValue(localValue: unknown): boolean {
  return !!(localValue as { url?: string })?.url;
}

export function clearVideoValue(): Record<string, never> {
  return {};
}
