/**
 * Copyright (c) 2020-present, Goldman Sachs
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import type { GenericLegendApplicationStore } from './ApplicationStore.js';
export declare enum RELEASE_UPDATE_TYPE {
    BUG_FIX = "BUG_FIX",
    ENHANCEMENT = "ENHANCEMENT"
}
export interface ReleaseNote {
    type: RELEASE_UPDATE_TYPE;
    description: string;
    docLink?: string | undefined;
}
export interface VersionReleaseNotes {
    version: string;
    label?: string | undefined;
    docLink?: string | undefined;
    notes?: ReleaseNote[] | undefined;
}
export declare const collectReleaseNotes: (releaseNotes: VersionReleaseNotes[]) => VersionReleaseNotes[];
export declare const APPLICATION_LAST_OPENED_VERSION = "application.lastOpenedVersion";
export declare class ReleaseNotesService {
    applicationStore: GenericLegendApplicationStore;
    releaseNotes: VersionReleaseNotes[] | undefined;
    showCurrentReleaseModal: boolean;
    showReleaseLog: boolean;
    isConfigured: boolean;
    constructor(applicationStore: GenericLegendApplicationStore);
    configure(releaseNotes: VersionReleaseNotes[]): void;
    setShowCurrentRelease(val: boolean): void;
    setReleaseLog(val: boolean): void;
    getViewedVersion(): string | undefined;
    updateViewedVersion(): void;
    showVersion(versionNotes: VersionReleaseNotes, lastOpenedVersion: string): boolean;
    showableVersions(): VersionReleaseNotes[] | undefined;
}
//# sourceMappingURL=ReleaseNotesService.d.ts.map