import { Token } from "../../model/tokens/SDKToken";
import { ShadowTokenValue, TypographyTokenValueTypes } from "../../model/tokens/SDKTokenValue";
import { TokenUtilPreviewTokenValueSegment } from "./TokenUtilPreviewTypes";
export declare class TokenUtilPreviewSegmentGenerator {
    static getTypographyValueReferenceProperties(tokenValue: TypographyTokenValueTypes | undefined | null, allTokens: Map<string, Token>): Pick<TokenUtilPreviewTokenValueSegment, "referencedName" | "referenceResolutionFailed" | "referenceOriginRemote" | "referenceOriginName" | "referenceFullPath">;
    static getReferenceName(reference: Token): string;
    static getCommonProperties(token: Token | undefined, reference: Token | undefined): {
        referenceName: any;
        referenceResolutionFailed?: undefined;
        referenceOriginRemote?: undefined;
        referenceOriginName?: undefined;
        referenceFullPath?: undefined;
        referencedName?: undefined;
        isDifferentTypeValue?: undefined;
        isValueOutOfRange?: undefined;
        tokenOutOfRangeErrorMessage?: undefined;
        tokenDifferentTypeErrorMessage?: undefined;
    } | {
        referenceResolutionFailed: boolean;
        referenceOriginRemote: boolean;
        referenceOriginName: string;
        referenceFullPath: string;
        referencedName: string;
        isDifferentTypeValue: boolean;
        isValueOutOfRange: boolean;
        tokenOutOfRangeErrorMessage: string;
        tokenDifferentTypeErrorMessage: string;
        referenceName?: undefined;
    };
    static resolvedSegmentsForToken(token: Token, allTokens: Map<string, Token>): Array<TokenUtilPreviewTokenValueSegment | "separator">;
    static shadowValuesToSegments(layer: ShadowTokenValue | null, allTokens: Map<string, Token>): Array<TokenUtilPreviewTokenValueSegment | "separator">;
}
