@builder.io/sdk
Version:
This SDK is largely a wrapper over our [Content API](https://www.builder.io/c/docs/content-api)
11 lines (10 loc) • 337 B
TypeScript
export type Options = {
root: Element;
idName: (name: string) => boolean;
className: (name: string) => boolean;
tagName: (name: string) => boolean;
seedMinLength: number;
optimizedMinLength: number;
threshold: number;
};
export default function (input: Element, options?: Partial<Options>): string;