import { Contents } from '@jupyterlite/contents';
import { Contents as ServerContents } from '@jupyterlab/services';
export declare type IModel = ServerContents.IModel;
/**
 * A class to handle requests to /api/contents
 */
export declare class JupyteachContents extends Contents {
    /**
     * Save a file.
     *
     * @param path - The desired file path.
     * @param options - Optional overrides to the model.
     *
     * @returns A promise which resolves with the file content model when the file is saved.
     */
    save(path: string, options?: Partial<IModel>): Promise<IModel | null>;
    newUntitled(options?: ServerContents.ICreateOptions | undefined): Promise<ServerContents.IModel | null>;
    get(path: string, options?: ServerContents.IFetchOptions | undefined): Promise<ServerContents.IModel | null>;
    createCheckpoint(path: string): Promise<ServerContents.ICheckpointModel>;
}
