import { Filepath } from '../../../../core/types/filepath'; import { AttributeNode, ElementDeclarationNode, ListExpressionNode, SyntaxNode } from '../../../../core/types/nodes'; import { default as Compiler } from '../../../index'; import { TextEdit } from '../applyTextEdits'; export declare function archDeclarations(compiler: Compiler, filepath: Filepath): ElementDeclarationNode[]; export declare function findArchElement(compiler: Compiler, filepath: Filepath, handle: string, role?: string): ElementDeclarationNode | undefined; export declare function refersTo(compiler: Compiler, node: SyntaxNode | undefined, target: ElementDeclarationNode): boolean; export declare const formatRoleQualifiedName: (handle: string, role: string) => string; export type ArchLinkDefinition = { kind: 'standalone'; declaration: ElementDeclarationNode; } | { kind: 'inline'; element: ElementDeclarationNode; attribute: AttributeNode; op: string; }; export declare function findArchLink(compiler: Compiler, filepath: Filepath, from: string, to: string, fromRole?: string, toRole?: string): ArchLinkDefinition | undefined; export declare function removeAttributeEdit(list: ListExpressionNode, attribute: AttributeNode, source: string): TextEdit;