import { CommentKind, TypeAnnotationKind, TSTypeAnnotationKind } from 'ast-types/gen/kinds';
import j from 'jscodeshift';
export declare function withComments<Node extends {
    comments?: CommentKind[] | null;
}>(node: Node, comments: CommentKind[]): Node;
export declare function withTypeAnnotation<Node extends {
    typeAnnotation?: TypeAnnotationKind | TSTypeAnnotationKind | null;
}>(node: Node, type: Parameters<typeof j.tsTypeAnnotation>[0]): Node;
