1 | import { Contents } from '@jupyterlab/services';
|
2 | import { ITranslator } from '@jupyterlab/translation';
|
3 | import { JSONObject } from '@lumino/coreutils';
|
4 | import { IDocumentManager } from './';
|
5 |
|
6 |
|
7 |
|
8 | export interface IFileContainer extends JSONObject {
|
9 | |
10 |
|
11 |
|
12 | items: string[];
|
13 | |
14 |
|
15 |
|
16 | path: string;
|
17 | }
|
18 |
|
19 |
|
20 |
|
21 | export declare function renameDialog(manager: IDocumentManager, oldPath: string, translator?: ITranslator): Promise<Contents.IModel | null>;
|
22 |
|
23 |
|
24 |
|
25 | export declare function renameFile(manager: IDocumentManager, oldPath: string, newPath: string): Promise<Contents.IModel | null>;
|
26 |
|
27 |
|
28 |
|
29 | export declare function shouldOverwrite(path: string, translator?: ITranslator): Promise<boolean>;
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 | export declare function isValidFileName(name: string): boolean;
|