blob: 20b70f344afbed5c8e7c044c7acaf36a6f4668a8 [file] [log] [blame]
import { LitHtmlAttributeModifier } from "../constants.js";
export type Newable<T> = {
new (...args: any[]): T;
};
export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
/**
* Parses an attribute name returning a name and eg. a modifier.
* Examples:
* - ?disabled="..."
* - .myProp="..."
* - @click="..."
* @param attributeName
*/
export declare function parseLitAttrName(attributeName: string): {
name: string;
modifier?: LitHtmlAttributeModifier;
};
export declare function lazy<T extends Function>(func: T): T;
//# sourceMappingURL=general-util.d.ts.map