import type { InferTemplateLiteral, Literal, TemplateLiteral, TypeGuard } from 'r-assign/lib'; /** * Check for template literal values * @note Does not accept types that cannot be represented as strings * @note Does not accept `isOptional*` type guard as it is invalid syntax */ declare function isTemplateLiteralOf< L extends Literal, T extends TemplateLiteral >(template: T): TypeGuard>; export { isTemplateLiteralOf, isTemplateLiteralOf as templateLiteral }; export type { InferTemplateLiteral, TemplateLiteral };