/** * LINKURIOUS CONFIDENTIAL * Copyright Linkurious SAS 2012 - 2025 * * - Created on 2025-11-27. */ import { Request } from '../../http/request'; import { LkSubGraph } from '../graphItemTypes'; import { CreateImportParams, CreateImportTemplateParams, DeleteImportParams, DeleteImportTemplateParams, GetImportGraphParams, GetImportsParams, GetImportTemplatesParams, Import, ImportTemplate, UpdateImportTemplateParams } from './types'; export * from './types'; export declare class ImportAPI extends Request { /** * Create a new import template. */ createImportTemplate(this: Request, params: CreateImportTemplateParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Update an existing import template. */ updateImportTemplate(this: Request, params: UpdateImportTemplateParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Delete an existing import template. */ deleteImportTemplate(params: DeleteImportTemplateParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * List all the import templates (the publicly shared ones and the private ones owned by the user). */ getImportTemplates(this: Request<{ items: ImportTemplate[]; }>, params: GetImportTemplatesParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response<{ items: ImportTemplate[]; }>>; /** * Create a new import. */ createImport(this: Request, params: CreateImportParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Delete an existing import. */ deleteImport(params: DeleteImportParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * List all the existing imports (for the current user if they are not admin, or for all the * users if the current user is an admin). */ getImports(this: Request<{ items: Import[]; }>, params: GetImportsParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response<{ items: Import[]; }>>; /** * Get the nodes and/or edges imported by a given import. * * If this is a node import, return all the imported nodes. * * If this is a edge import, return all the imported edges and their source/target nodes. */ getImportGraph(this: Request, params: GetImportGraphParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; }