/** * A no-operation function that executes an optional callback. * * This is a lower-level utility function. For preventing tree-shaking of custom elements, * prefer using {@link avoidTreeShaking} which provides a more explicit API. * * @param callback - An optional function to execute for its side effects. * @public */ export declare const noop: (fn?: () => void) => void; /** * Explicitly prevents tree-shaking of custom element classes by referencing them. * * Bundlers may incorrectly remove code that it thinks has no side effects, * such as custom element definitions that are only referenced in templates. * By passing these classes to `avoidTreeShaking`, we create a side effect * that signals to the bundler to preserve the code. * * @param classes - One or more custom element classes that should not be tree-shaken. * @public */ export declare const avoidTreeShaking: (...classes: unknown[]) => void; //# sourceMappingURL=noop.d.ts.map