import { Recipe } from "../../recipe"; import { TreeVisitor } from "../../visitor"; import { ExecutionContext } from "../../execution"; /** * Simplifies object properties where the key and value have the same name, * in both destructuring patterns and object literals. * * Destructuring examples: * - `const { x: x } = obj` becomes `const { x } = obj` * - `function({ ref: ref, ...props })` becomes `function({ ref, ...props })` * * Object literal examples: * - `{ x: x }` becomes `{ x }` * - `{ foo: foo, bar: bar }` becomes `{ foo, bar }` */ export declare class UseObjectPropertyShorthand extends Recipe { name: string; displayName: string; description: string; editor(): Promise>; } //# sourceMappingURL=use-object-property-shorthand.d.ts.map