UNPKG

1.3 kBTypeScriptView Raw
1import { ServerConnection } from '../serverconnection';
2/**
3 * The nbconvert API service manager.
4 */
5export declare class NbConvertManager {
6 /**
7 * Create a new nbconvert manager.
8 */
9 constructor(options?: NbConvertManager.IOptions);
10 /**
11 * The server settings used to make API requests.
12 */
13 readonly serverSettings: ServerConnection.ISettings;
14 /**
15 * Get whether the application should be built.
16 */
17 getExportFormats(): Promise<NbConvertManager.IExportFormats>;
18}
19/**
20 * A namespace for `BuildManager` statics.
21 */
22export declare namespace NbConvertManager {
23 /**
24 * The instantiation options for a setting manager.
25 */
26 interface IOptions {
27 /**
28 * The server settings used to make API requests.
29 */
30 serverSettings?: ServerConnection.ISettings;
31 }
32 /**
33 * A namespace for nbconvert API interfaces.
34 */
35 interface IExportFormats {
36 /**
37 * The list of supported export formats.
38 */
39 [key: string]: {
40 output_mimetype: string;
41 };
42 }
43}
44/**
45 * A namespace for builder API interfaces.
46 */
47export declare namespace NbConvert {
48 /**
49 * The interface for the build manager.
50 */
51 interface IManager extends NbConvertManager {
52 }
53}