import { Token, TokenType } from '@preply/ds-core-types';

export type ExtendedToken = {
    token: Token;
    name: string;
    id: string;
    type: TokenType;
    colorSchemeAware: boolean;
    value: string;
};

export type TokenTreeNode = {
    [key: string]: Token | TokenTreeNode;
};

export type TokenTree = {
    [key: string]: TokenTreeNode;
};
