import { CreatorBase } from "./creator-base";
import { Base, SurveyElement } from "survey-core";
import { ElementGetExpandCollapseStateEventReason } from "./creator-events-api";
export interface IExpandCollapseChoice {
    expandCollapse(val: boolean): void;
}
export declare class ExpandCollapseManager {
    private creator;
    private _lockQuestions;
    private expandChoicesStates;
    constructor(creator: CreatorBase);
    expandCollapseElements(reason: ElementGetExpandCollapseStateEventReason, isCollapsed: boolean, elements?: SurveyElement[]): void;
    clearExpandChoicesStates(): void;
    setChoicesState(item: Base, isExpanded: boolean, adorner: IExpandCollapseChoice): void;
    isChoiceExpanded(item: Base): boolean;
    private collapsedChoices;
    expandChoices(): void;
    collapseChoices(items: Array<Base>): void;
    disposeChoice(item: Base, adorner: IExpandCollapseChoice): void;
    private expandCollapseChoices;
    get questionsLocked(): boolean;
    lockQuestions(locked: boolean): void;
    private getCollapsableElements;
    private sortElements;
    private updateCollapsed;
}
