import type { Static } from '../static/index.mjs'; import type { TTemplateLiteral } from './template-literal.mjs'; import type { UnionToTuple } from '../helpers/index.mjs'; import { type TUnionEvaluated } from '../union/index.mjs'; import { type TLiteral } from '../literal/index.mjs'; export type TTemplateLiteralToUnionLiteralArray = (T extends [infer L extends string, ...infer R extends string[]] ? TTemplateLiteralToUnionLiteralArray]> : Acc); export type TTemplateLiteralToUnion>> = TUnionEvaluated>; /** Returns a Union from the given TemplateLiteral */ export declare function TemplateLiteralToUnion(schema: TTemplateLiteral): TTemplateLiteralToUnion;