import { CharacterStyle } from '../../model/character/character-style';
import { ParagraphStyle } from '../../model/paragraph/paragraph-style';
import { SubDocumentInterval } from '../../model/sub-document';
import { FixedInterval } from '@devexpress/utils/lib/intervals/fixed';
import { CommandBase, CommandSimpleOptions } from '../command-base';
import { ApplyStyleCommandState } from '../command-states';
export interface IApplyStyleCommandParams {
    styleName: string;
    keepCustomFormatting?: boolean;
}
export declare class ApplyStyleCommand extends CommandBase<ApplyStyleCommandState> {
    getState(): ApplyStyleCommandState;
    private getStyleName;
    DEPRECATEDConvertOptionsParameter(parameter: string | IApplyStyleCommandParams): IApplyStyleCommandParams;
    executeCore(state: ApplyStyleCommandState, options: CommandSimpleOptions<IApplyStyleCommandParams>): boolean;
    applyCharacterStyle(subDocumentInterval: SubDocumentInterval, style: CharacterStyle, isPresetStyle: boolean): void;
    applyParagraphStyle(subDocumentInterval: SubDocumentInterval, style: ParagraphStyle, isPresetStyle: boolean, keepCustomFormatting?: boolean): void;
    applyParagraphLinkedStyle(subDocumentInterval: SubDocumentInterval, style: ParagraphStyle, isPresetStyle: boolean): void;
    private addLinkedCharacterStyle;
    calculateAffectedParagraphCount(subDocumentInterval: SubDocumentInterval): number;
    isEnabled(): boolean;
    protected canModify(): boolean;
    protected getIntervalsForModifying(): FixedInterval[];
}
