import { Style, Theme } from "./Theme"; /** * The ThemeVisitor visits every style in the theme in a depth-first fashion. */ export declare class ThemeVisitor { readonly theme: Theme; constructor(theme: Theme); /** * Applies a function to every style in the theme. * * @param visitFunc - Function to be called with `style` as an argument. Function should return * `true` to cancel visitation. * @returns `true` if function has finished prematurely. */ visitStyles(visitFunc: (style: Style) => boolean): boolean; } //# sourceMappingURL=ThemeVisitor.d.ts.map