import { default as ts } from 'typescript'; export type LiftedDecorators = Map; /** * Using decorators in a file means shipping TypeScript's decorator polyfill. * Plus, the decorator polyfill is meant to be generic and so adds more code * than needed. * * Fortunately, Lit supports a static "properties" property (mainly for * non-TypeScript users) that can be used to define properties in a more * build size efficient way, without the need for `@property()` or `@state()` * decorators. * * @remarks * Without this, map-components CDN build is 398kb. * With lifted decorator, it is 364kb (34kb smaller). * AND, with compact property options it's 354kb (7kb smaller). * * For comparison, map-components Stencil CDN build is 370kb (and they * lift all decorators too). */ export declare function liftDecorators(members: readonly ts.ClassElement[], liftedDecorators: LiftedDecorators, minifyFlags: boolean): readonly ts.ClassElement[];