import { LibraryExercise, Lookup } from '.'; import { Language } from './translations'; import { LocalizedExerciseTitles } from './workout/shared'; /** Keeping exercise instruction/title localization utils here instead of translations * so I don't need to import exercise types from here in translations (translations was * created so that hevy-web can import utils from shared without importing something from * that isn't allowed in Edge Runtime) */ export declare const supportedInstructionsLanguages: readonly ["en", "it", "de", "es", "fr", "pt"]; export type InstructionsLanguage = Lookup; export declare const isSupportedInstructionsLanguage: (lang: string) => lang is InstructionsLanguage; type LocalizableExerciseTemplate = Pick; export declare const localisedExerciseTitle: (locale: Language, template: LocalizableExerciseTemplate) => string; export declare const localisedExerciseInstructions: (locale: Language, exerciseTemplate: LocalizableExerciseTemplate) => string; export declare const localeSelect: (locale: Language, options: { en: T; } & { [language in Exclude]?: T | null; }) => T; export {};