1 | import { SimpleNode, SimpleDocumentFragment } from '@simple-dom/interface';
|
2 | export interface SafeString {
|
3 | toHTML(): string;
|
4 | }
|
5 | export declare type Insertion = CautiousInsertion | TrustingInsertion;
|
6 | export declare type CautiousInsertion = string | SafeString | SimpleNode;
|
7 | export declare type TrustingInsertion = string | SimpleNode;
|
8 | export declare function normalizeStringValue(value: unknown): string;
|
9 | export declare function normalizeTrustedValue(value: unknown): TrustingInsertion;
|
10 | export declare function shouldCoerce(value: unknown): value is string | number | boolean | null | undefined;
|
11 | export declare function isEmpty(value: unknown): boolean;
|
12 | export declare function isSafeString(value: unknown): value is SafeString;
|
13 | export declare function isNode(value: unknown): value is SimpleNode;
|
14 | export declare function isFragment(value: unknown): value is SimpleDocumentFragment;
|
15 | export declare function isString(value: unknown): value is string;
|
16 |
|
\ | No newline at end of file |