import { SubframeTheme } from "../../../data/theme-types";
import { BorderToken, ColorPalette, ColorToken, CornerToken, FontToken, ShadowToken, SpacingToken, ThemeStyleType } from "../../../data/types";
import { UndoableAction } from "./types";
export interface TokenState {
    themeStyle: ThemeStyleType;
    colorPalettes: ColorPalette[];
    nonPaletteColorTokens: ColorToken[];
    fontTokens: FontToken[];
    borderTokens: BorderToken[];
    cornerTokens: CornerToken[];
    shadowTokens: ShadowToken[];
    spacingTokens: SpacingToken[];
}
export declare const updateTheme: import("@reduxjs/toolkit").ActionCreatorWithPayload<SubframeTheme & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateTheme">, updateThemeStyle: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    themeStyle: ThemeStyleType;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateThemeStyle">, addColorPalette: import("@reduxjs/toolkit").ActionCreatorWithPayload<ColorPalette & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/addColorPalette">, deleteColorPalette: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    id: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/deleteColorPalette">, updateColorPaletteValues: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    id: string;
    values: ColorPalette["values"];
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateColorPaletteValues">, updateColorPaletteName: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    id: string;
    name: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateColorPaletteName">, addColorToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    token: ColorToken;
    paletteId?: string | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/addColorToken">, updateColorTokenValue: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
    value: ColorToken["value"];
    darkMode?: boolean | undefined;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateColorTokenValue">, updateColorTokenName: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
    name: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateColorTokenName">, deleteColorToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/deleteColorToken">, addFontToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<FontToken & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/addFontToken">, updateFontToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
    value: FontToken["value"];
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateFontToken">, updateFontTokenName: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
    name: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateFontTokenName">, deleteFontToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/deleteFontToken">, addBorderToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<BorderToken & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/addBorderToken">, updateBorderToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
    value: BorderToken["value"];
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateBorderToken">, updateBorderTokenName: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
    name: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateBorderTokenName">, deleteBorderToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/deleteBorderToken">, addCornerToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<CornerToken & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/addCornerToken">, updateCornerToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
    value: CornerToken["value"];
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateCornerToken">, updateCornerTokenName: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
    name: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateCornerTokenName">, deleteCornerToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/deleteCornerToken">, addShadowToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<ShadowToken & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/addShadowToken">, updateShadowToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
    value: ShadowToken["value"];
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateShadowToken">, updateShadowTokenName: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
    name: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateShadowTokenName">, deleteShadowToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/deleteShadowToken">;
export declare const TOKENS_REDUX_ACTIONS: import("@reduxjs/toolkit").CaseReducerActions<{
    /**
     * Themes
     */
    updateTheme: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<SubframeTheme>) => void;
    /**
     * Theme styles
     */
    updateThemeStyle(state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        themeStyle: ThemeStyleType;
    }>): void;
    /**
     * Colors
     */
    addColorPalette: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<ColorPalette>) => void;
    deleteColorPalette: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        id: string;
    }>) => void;
    updateColorPaletteValues: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        id: string;
        values: ColorPalette["values"];
    }>) => void;
    updateColorPaletteName: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        id: string;
        name: string;
    }>) => void;
    addColorToken: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        token: ColorToken;
        paletteId?: string;
    }>) => void;
    updateColorTokenValue: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        tokenId: string;
        value: ColorToken["value"];
        darkMode?: boolean;
    }>) => void;
    updateColorTokenName: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        tokenId: string;
        name: string;
    }>) => void;
    deleteColorToken: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        tokenId: string;
    }>) => void;
    /**
     * Fonts
     */
    addFontToken: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<FontToken>) => void;
    updateFontToken: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        tokenId: string;
        value: FontToken["value"];
    }>) => void;
    updateFontTokenName: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        tokenId: string;
        name: string;
    }>) => void;
    deleteFontToken: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        tokenId: string;
    }>) => void;
    /**
     * Borders
     */
    addBorderToken: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<BorderToken>) => void;
    updateBorderToken: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        tokenId: string;
        value: BorderToken["value"];
    }>) => void;
    updateBorderTokenName: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        tokenId: string;
        name: string;
    }>) => void;
    deleteBorderToken: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        tokenId: string;
    }>) => void;
    /**
     * Corners
     */
    addCornerToken: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<CornerToken>) => void;
    updateCornerToken: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        tokenId: string;
        value: CornerToken["value"];
    }>) => void;
    updateCornerTokenName: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        tokenId: string;
        name: string;
    }>) => void;
    deleteCornerToken: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        tokenId: string;
    }>) => void;
    /**
     * Shadows
     */
    addShadowToken: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<ShadowToken>) => void;
    updateShadowToken: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        tokenId: string;
        value: ShadowToken["value"];
    }>) => void;
    updateShadowTokenName: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        tokenId: string;
        name: string;
    }>) => void;
    deleteShadowToken: (state: import("immer/dist/internal").WritableDraft<TokenState>, action: UndoableAction<{
        tokenId: string;
    }>) => void;
}, "tokens">;
export declare const tokenReducer: import("redux").Reducer<TokenState>;
//# sourceMappingURL=tokens.d.ts.map