/** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * @file Events fired as a result of hide flyout */ /** * Events fired as a result of hide flyout * * @class */ import { Abstract as AbstractEvent, AbstractEventJson } from './events_abstract.js'; import { Workspace } from '../workspace.js'; /** * Class for a flyout hide event. */ export declare class FlyoutHide extends AbstractEvent { isBlank: boolean; workspaceId?: string; isButtonClose: boolean; recordUndo: boolean; type: string; /** * @param {!workspaceId} workspaceId workspaceId * @param {opt_isButtonClose} opt_isButtonClose isButtonClose * event. */ constructor(workspaceId: string, opt_isButtonClose?: boolean); /** * Encode the event as JSON. * * @returns {!object} JSON representation. */ toJson(): FlyoutHideJson; /** * Decode the JSON event. * * @param {!object} json JSON representation. * @param {!workspace} workspace JSON representation. */ static fromJson(json: FlyoutHideJson, workspace: Workspace): FlyoutHide; } export interface FlyoutHideJson extends AbstractEventJson { isButtonClose: boolean; } //# sourceMappingURL=events_flyout_hide.d.ts.map