UNPKG

@tokens-studio/sdk

Version:
19 lines 675 B
import { type DeepPartial } from '@tokens-studio/utils'; import type { ThemeGroup, TokensSet } from '../../__generated__/graphql.js'; declare interface IExportTokens { tokenSets: DeepPartial<TokensSet>[]; themes?: DeepPartial<ThemeGroup>[]; excludeMeta?: boolean; } export declare function exportTokens({ tokenSets, themes, excludeMeta, }: IExportTokens): { filename: string; contents: string; mimeType?: string; }[]; /** * Export tokens, metadata and themes jsons as zip * Metadata and themes jsons are optional */ export declare function exportTokensAsZIP(opts: IExportTokens): Promise<void>; export {}; //# sourceMappingURL=exportTokens.d.ts.map