import { z } from 'zod'; import { ReturnTypeWithArgs } from '../../utils/typeUtils.js'; import { SpecifyModeAndValueLevelAliasSignatureSchema } from '../internals/designTokenAlias.js'; import { makeSpecifyFontValueSchema } from './font.js'; import { makeSpecifyDimensionValueSchema } from './dimension.js'; import { makeSpecifyColorValueSchema } from './color.js'; import { makeSpecifyFontFeaturesValueSchema } from './fontFeatures.js'; import { makeSpecifyTextAlignHorizontalValueSchema } from './textAlignHorizontal.js'; import { makeSpecifyTextAlignVerticalValueSchema } from './textAlignVertical.js'; import { makeSpecifyTextDecorationValueSchema } from './textDecoration.js'; import { makeSpecifyTextTransformValueSchema } from './textTransform.js'; type MakeSpecifyTextStyleValueSchemaNonAliasableReturnType = z.ZodObject<{ font: ReturnTypeWithArgs; fontSize: ReturnTypeWithArgs; fontFeatures: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; color: z.ZodUnion<[ReturnTypeWithArgs, z.ZodNull]>; lineHeight: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; letterSpacing: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; paragraphSpacing: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; textAlignHorizontal: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; textAlignVertical: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; textDecoration: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; textIndent: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; textTransform: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; }, 'strict'>; type MakeSpecifyTextStyleValueSchemaAliasableReturnType = z.ZodUnion<[ z.ZodObject<{ font: ReturnTypeWithArgs; fontSize: ReturnTypeWithArgs; fontFeatures: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; color: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; lineHeight: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; letterSpacing: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; paragraphSpacing: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; textAlignHorizontal: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; textAlignVertical: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; textDecoration: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; textIndent: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; textTransform: z.ZodUnion<[ ReturnTypeWithArgs, z.ZodNull ]>; }, 'strict'>, SpecifyModeAndValueLevelAliasSignatureSchema ]>; export declare function makeSpecifyTextStyleValueSchema(isSupportingAliasing: false): MakeSpecifyTextStyleValueSchemaNonAliasableReturnType; export declare function makeSpecifyTextStyleValueSchema(isSupportingAliasing: true): MakeSpecifyTextStyleValueSchemaAliasableReturnType; export declare function makeSpecifyTextStyleValueSchema(isSupportingAliasing: boolean): MakeSpecifyTextStyleValueSchemaNonAliasableReturnType | MakeSpecifyTextStyleValueSchemaAliasableReturnType; export type SpecifyTextStyleValue = z.infer>; export type SpecifyTextStyleValueWithAlias = z.infer>; export declare const specifyTextStyleDefinition: import("../internals/createDesignTokenDefinition.js").DesignTokenDefinition<"textStyle", MakeSpecifyTextStyleValueSchemaAliasableReturnType, MakeSpecifyTextStyleValueSchemaNonAliasableReturnType, { _unionOf: ({ _tokenType: string; _mapOf?: undefined; } | { _mapOf: { font: import("../internals/tokenTypesMapping.js").TokenTypesMapping; fontSize: { _unionOf: ({ _tokenType: string; _mapOf?: undefined; } | { _mapOf: { unit: { _tokenType: string; }; value: import("../internals/tokenTypesMapping.js").TokenTypesMapping; }; _tokenType?: undefined; })[]; }; color: import("../internals/tokenTypesMapping.js").TokenTypesMapping; fontFeatures: { _unionOf: ({ _tokenType: string; _arrayOf?: undefined; } | { _arrayOf: { _tokenType: string; }[]; _tokenType?: undefined; })[]; }; lineHeight: { _tokenType: string; }; letterSpacing: { _unionOf: ({ _tokenType: string; _mapOf?: undefined; } | { _mapOf: { unit: { _tokenType: string; }; value: import("../internals/tokenTypesMapping.js").TokenTypesMapping; }; _tokenType?: undefined; })[]; }; paragraphSpacing: { _unionOf: { _tokenType: string; }[]; }; textAlignHorizontal: { _tokenType: string; }; textAlignVertical: { _tokenType: string; }; textDecoration: { _tokenType: string; }; textIndent: { _unionOf: ({ _tokenType: string; _mapOf?: undefined; } | { _mapOf: { unit: { _tokenType: string; }; value: import("../internals/tokenTypesMapping.js").TokenTypesMapping; }; _tokenType?: undefined; })[]; }; textTransform: { _tokenType: string; }; }; _tokenType?: undefined; })[]; }>; export {};