import { ASTNode, ASTNodeWithChildren } from "./ast_node"; import { StructuredDocumentation } from "./implementation/meta"; export interface WithPrecedingDocs { documentation?: string | StructuredDocumentation; /** * This field is used as a storage field for string, * if string is set as value for `documentation`. */ docString?: string; } export interface WithDanglingDocs { danglingDocumentation?: string | StructuredDocumentation; /** * This field is used as a storage field for string, * if string is set as value for `danglingDocumentation`. */ danglingDocString?: string; } export declare function getDocumentation(node: WithPrecedingDocs & ASTNodeWithChildren): string | StructuredDocumentation | undefined; export declare function setDocumentation(node: WithPrecedingDocs & ASTNodeWithChildren, value: string | StructuredDocumentation | undefined): void; export declare function getDanglingDocumentation(node: WithDanglingDocs & ASTNodeWithChildren): string | StructuredDocumentation | undefined; export declare function setDanglingDocumentation(node: WithDanglingDocs & ASTNodeWithChildren, value: string | StructuredDocumentation | undefined): void; //# sourceMappingURL=documentation.d.ts.map