UNPKG

@slightning/anything-to-string

Version:
21 lines (20 loc) 1.12 kB
import { PrepareContext, RequiredConfig, Rule, ToStringContext } from "../config"; declare function isHTMLElement(data: unknown): data is HTMLElement; export declare class MinimumHTMLElementRule implements Rule<HTMLElement> { test: typeof isHTMLElement; toString(this: this, data: HTMLElement, __config: RequiredConfig, __context: ToStringContext): string; } export declare class LesserHTMLElementRule implements Rule<HTMLElement> { test: typeof isHTMLElement; toString(this: this, data: HTMLElement, __config: RequiredConfig, __context: ToStringContext): string; } export declare class MajorHTMLElementRule implements Rule<HTMLElement> { test: typeof isHTMLElement; toString(this: this, data: HTMLElement, __config: RequiredConfig, __context: ToStringContext): string; } export declare class MaximumHTMLElementRule implements Rule<HTMLElement> { test: typeof isHTMLElement; prepare(this: this, data: HTMLElement, config: RequiredConfig, context: PrepareContext): void; toString(this: this, data: HTMLElement, config: RequiredConfig, context: ToStringContext): string; } export {};