import { CodeSample } from './Code.types'; type SlottedOProps = Record & { slotted?: { content?: boolean; }; }; type SlottedCodeProp = { [K in T]?: P; } & { slotted?: { [K in T]?: boolean; }; }; /** If the condition is not met, return undefined */ export declare function $if(condition: boolean | undefined | null, attr: T): T | undefined; export declare function $attr(attr: T, props: SlottedCodeProp): string | undefined; export declare function $complexAttr(attr: T, props: SlottedCodeProp): readonly any[] | undefined; export declare function $slot(attr: T, props: SlottedCodeProp): string | undefined; export declare function $bool(attr: T): T | undefined; export declare function $vueSlot(slot: T, props: SlottedCodeProp): CodeSample | string | undefined; export declare function $reactSub(slot: T, props: SlottedCodeProp): string | undefined; export declare function $reactChildren(props: T): string | undefined; /** */ export declare function $forArray(iterable: T[], map: (item: T, index: number, self: T[]) => R): R[]; /** */ export declare function $forObject(iterable: Record, map: (item: [K, T], index: number, self: [K, T][]) => R): R[]; /** */ export declare function $var(str: `--${T}`): `var(--${T})`; export declare function customPropsToStyle(props: { 'custom-str'?: string; }, name: string): string | undefined; export {};