blob: 404907a8a166ccd3b171c2a3192c2a9f3f4ba300 [file] [log] [blame] [edit]
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {PluginApi} from './plugin';
import {Styles} from './styles';
declare global {
interface Window {
Gerrit: Gerrit;
VERSION_INFO?: string;
ENABLED_EXPERIMENTS?: string[];
}
}
export declare interface Gerrit {
install(
callback: (plugin: PluginApi) => void,
version?: string,
src?: string
): void;
styles: Styles;
}