/** * Parse a token definition for a specific theme, wrapping unknown errors with * theme context. * * @param theme - Theme name associated with the tokens. * @param tokens - Token definition to parse. * @throws {DtifTokenParseError} When DTIF validation fails. * @throws {Error} When token definitions are invalid. */ import type { DesignTokens } from '../../core/types.js'; export interface ParseTokensForThemeResult { flattened?: readonly import('../../core/types.js').DtifFlattenedToken[]; } export declare function parseTokensForTheme(theme: string, tokens: DesignTokens): Promise; //# sourceMappingURL=parse-tokens-for-theme.d.ts.map