/** * @public */ export interface IWatchOptions { /** * If true, will only start watching after the initial update/render */ waitUntilFirstUpdate?: boolean; } /** * Runs when observed properties change, e.g. property or state, but before the component updates. To wait for an * update to complete after a change occurs, use `await this.updateComplete` in the handler. To start watching after the * initial update/render, use `{ waitUntilFirstUpdate: true }` or `this.hasUpdated` in the handler. * * ```ts * @Watch('propName') * onPropertyChange(oldValue, newValue) { * ... * } * ``` * * @public */ export declare function Watch(propName: string, options?: IWatchOptions): Function; //# sourceMappingURL=WatchDecorator.d.ts.map