import Joi from 'joi'; import { Translations } from './translations'; import { Locale } from './locale'; declare const schema: (limit?: number) => Joi.AnySchema; declare const versionedStringOrStringOrTranslationSchema: (apiVersion: number) => Joi.AnySchema; type StringOrTranslations = string | Translations; declare function getTranslatedString(name: StringOrTranslations | null, locale: Locale): string; export { schema, StringOrTranslations, getTranslatedString, versionedStringOrStringOrTranslationSchema, };