import { MainGraphQLClient } from "@webiny/app/features/mainGraphQLClient/index.js"; import type { FolderDto } from "../../../domain/folder/FolderDto.js"; import { FolderModelProvider } from "../../../features/folders/abstractions.js"; import { LoadFolderHierarchyGateway as GatewayAbstraction } from "./abstractions.js"; import type { AcoError } from "../../../types.js"; interface LoadFolderHierarchyResponseData { parents: FolderDto[]; siblings: FolderDto[]; } export interface LoadFolderHierarchyResponse { aco: { getFolderHierarchy: { data: LoadFolderHierarchyResponseData | null; error: AcoError | null; }; }; } export interface LoadFolderHierarchyQueryVariables { type: string; id: string; } export declare const LOAD_FOLDER_HIERARCHY: (FOLDER_FIELDS: string) => string; declare class LoadFolderHierarchyGqlGatewayImpl implements GatewayAbstraction.Interface { private client; private folderModelProvider; constructor(client: MainGraphQLClient.Interface, folderModelProvider: FolderModelProvider.Interface); execute(type: string, id: string): Promise<{ parents: FolderDto[]; siblings: FolderDto[]; }>; } export declare const LoadFolderHierarchyGqlGateway: typeof LoadFolderHierarchyGqlGatewayImpl & { __abstraction: import("@webiny/di").Abstraction; }; export {};