import type { DesignTokens } from '../../../core/types.js'; /** * Determines whether a value is a record of theme names mapping to design tokens. * * A valid theme record: * - Is a record with at least one non-metadata key (keys not starting with `$`). * - For a single theme, it must contain at least one nested theme object (not * just design tokens). * - For multiple themes, either each theme must expose DTIF metadata or they * must share at least one common token key. * * @param val - The value to test. * @returns `true` if the value is a theme record, `false` otherwise. * * @example * isThemeRecord({ light: { color: { red: { $value: '#f00' } } } }); // => true */ export declare const isThemeRecord: (val: unknown) => val is Record; //# sourceMappingURL=is-theme-record.d.ts.map