import { Trie } from './trie'; import { CompiledWhitelist } from './whitelist'; export interface StyleLUT { para: Set; span: Record; spanTrie: Trie; } export interface Style { para: Record; span: Record; cont?: ContStyleRule; } export declare type PropSet = Record; export interface StyleRule { props: PropSet; } export interface SpanStyleRule extends StyleRule { endPattern?: string; } export declare type ParaStyleRule = StyleRule; export declare type ContStyleRule = StyleRule; export declare const compile: (data: string, whitelist: CompiledWhitelist) => Style; export declare const buildLUT: (styles: Style[]) => StyleLUT; export declare const isValid: (style: Style, whitelist: CompiledWhitelist) => boolean;