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">, deleteColorPaletteRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    id: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/deleteColorPaletteRaw">, updateColorPaletteValues: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    id: string;
    values: ColorPalette["values"];
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateColorPaletteValues">, 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">, deleteColorTokenRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/deleteColorTokenRaw">, addFontToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<FontToken & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/addFontToken">, updateFontTokenValue: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
    value: FontToken["value"];
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateFontTokenValue">, 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">, updateBorderTokenValue: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
    value: BorderToken["value"];
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateBorderTokenValue">, 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">, updateCornerTokenValue: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    tokenId: string;
    value: CornerToken["value"];
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "tokens/updateCornerTokenValue">, 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;
    deleteColorPaletteRaw: (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;
    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;
    deleteColorTokenRaw: (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;
    updateFontTokenValue: (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;
    updateBorderTokenValue: (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;
    updateCornerTokenValue: (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