import { Question, SurveyModel } from "survey-core";
import { SurveyCreatorModel, CreatorPresetBase, ICreatorOptions } from "survey-creator-core";
export interface ICreatorPresetEditorSetup {
    creator: SurveyCreatorModel;
    createCreator(options: ICreatorOptions): SurveyCreatorModel;
}
export declare class CreatorPresetEditableBase {
    preset: CreatorPresetBase;
    parent: CreatorPresetEditableBase;
    protected get navigationPanelName(): string;
    children: Array<CreatorPresetEditableBase>;
    get isSettingUp(): boolean;
    constructor(preset: CreatorPresetBase);
    get path(): string;
    protected getJsonPath(model: SurveyModel): string;
    get fullPath(): string;
    get pageName(): string;
    getPageTitle(model: SurveyModel): string;
    getPageShortTitle(model: SurveyModel): string;
    protected get mainPanelName(): string;
    getMainElementNames(): any;
    getMainPanelName(): any;
    getCustomQuestionCssSuffix(question: Question): string;
    createPages(): Array<any>;
    get questionNames(): string[];
    notifyCallback: (message: string) => void;
    validate(model: SurveyModel): boolean;
    protected validateCore(model: SurveyModel): boolean;
    protected createMainPage(): any;
    protected getBoolVisibleIf(name: string, isTrue?: boolean): string;
    protected getTextVisibleIf(name: string, val: string): string;
    protected getNotEmptyVisibleIf(name: string): string;
    protected createMainPageCore(): any;
    getNavigationElementName(): any;
    getJsonValue(model: SurveyModel, creator: SurveyCreatorModel, defaultJson?: any): any;
    getDefaultJsonValue(creator: SurveyCreatorModel): any;
    setJsonLocalizationStrings(model: SurveyModel, locStrs: any): void;
    updateJsonLocalizationStrings(locStrs: any): void;
    dispose(): void;
    setupQuestions(model: SurveyModel, creatorSetup: ICreatorPresetEditorSetup): void;
    resetToDefaults(model: SurveyModel, notify?: boolean): void;
    setupOnCurrentPage(model: SurveyModel, creator: SurveyCreatorModel, active: boolean): void;
    updateOnValueChanged(model: SurveyModel, name: string): void;
    updateOnMatrixDetailPanelVisibleChanged(model: SurveyModel, creator: SurveyCreatorModel, options: any): void;
    onGetMatrixRowActions(model: SurveyModel, creator: SurveyCreatorModel, options: any): void;
    onGetQuestionTitleActions(model: SurveyModel, creator: SurveyCreatorModel, options: any): void;
    onGetPanelTitleActions(model: SurveyModel, creator: SurveyCreatorModel, options: any): void;
    onMatrixRowDragOver(model: SurveyModel, creator: SurveyCreatorModel, options: any): void;
    onMatrixRowRemoving(model: SurveyModel, creator: SurveyCreatorModel, options: any): void;
    onMatrixRowAdded(model: SurveyModel, creator: SurveyCreatorModel, options: any): void;
    onMatrixCellValueChanged(model: SurveyModel, creator: SurveyCreatorModel, options: any): void;
    setupQuestionsValue(model: SurveyModel, json: any, creator: SurveyCreatorModel): void;
    onLocaleChanged(model: SurveyModel, json: any, creator: SurveyCreatorModel): void;
    private saveValuesAsDefault;
    protected restoreValuesFromDefault(model: SurveyModel): void;
    protected setupQuestionsCore(model: SurveyModel, creatorSetup: ICreatorPresetEditorSetup): void;
    protected resetToDefaultsCore(model: SurveyModel): void;
    protected setupQuestionsValueCore(model: SurveyModel, json: any, creator: SurveyCreatorModel): void;
    protected onLocaleChangedCore(model: SurveyModel, json: any, creator: SurveyCreatorModel): void;
    protected getJsonValueCore(model: SurveyModel, creator: SurveyCreatorModel, defaultJson: any): any;
    protected getDefaultJsonValueCore(creator: SurveyCreatorModel): any;
    protected setJsonLocalizationStringsCore(model: SurveyModel, locStrs: any): void;
    protected updateJsonLocalizationStringsCore(locStrs: any): void;
    protected disposeCore(): void;
    protected setupOnCurrentPageCore(model: SurveyModel, creator: SurveyCreatorModel, active: boolean): void;
    protected updateOnValueChangedCore(model: SurveyModel, name: string): void;
    protected updateOnMatrixDetailPanelVisibleChangedCore(model: SurveyModel, creator: SurveyCreatorModel, options: any): void;
    protected onGetMatrixRowActionsCore(model: SurveyModel, creator: SurveyCreatorModel, options: any): void;
    protected copyJson(json: any): any;
    static updateModifiedText(locStrs: any, text: string, localizationName: string): void;
    private static saveTextInLocStrs;
}
