import { IObservable, IReader } from "../../../../base/common/observable.js"; import { ISession } from "../../../services/sessions/common/session.js"; import { ISessionArchiveNudgeCandidate, ISessionArchiveNudgeState } from "./sessionArchiveNudge.js"; export interface ISessionArchiveNudgeService { readonly _serviceBrand: undefined; /** * Whether this window has yet to report where a suggestion would show. Until then, * disabled and dismissed suggestions still resolve whether they would show, because * only arms that render the suggestion can dismiss it. */ readonly experimentTriggerPending: IObservable; isDismissed(session: ISession, reader: IReader | undefined): boolean; hasContinued(session: ISession, pullRequestKeys: readonly string[], reader: IReader | undefined): boolean; shouldShowCompact(reader: IReader | undefined): boolean; /** Reports the enablement experiment trigger of a suggestion that would show if it were enabled and not dismissed. */ reportWouldShow(): void; markShown(state: ISessionArchiveNudgeCandidate): void; dismiss(state: ISessionArchiveNudgeState): void; showArchiveOnboarding(session: ISession): Promise; archive(state: ISessionArchiveNudgeState): Promise; } export declare const ISessionArchiveNudgeService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier;