import Counter , { CounterRuleOptions } from './Counter' ; import FullBleedSpread , { FullBleedSpreadPageRuleOptions , } from './FullBleedSpread' ; import FullBleedPage , { FullBleedPageRuleOptions } from './FullBleedPage' ; import Footnote , { FootnoteRuleOptions } from './Footnote' ; import PageReference , { PageReferenceRuleOptions } from './PageReference' ; import PageBreak , { PageBreakRuleOptions } from './PageBreak' ; import RunningHeader , { RunningHeaderRuleOptions } from './RunningHeader' ; import Replace , { ReplaceRuleOptions } from './Replace' ; import { Rule , RuleOptions } from './Rule' ; import Split , { SplitRuleOptions } from './Split' ; export default { Rule , Split ( options ) { return new Split ( options ) ; } , Counter ( options ) { return new Counter ( options ) ; } , FullBleedPage ( options ) { return new FullBleedPage ( options ) ; } , Footnote ( options ) { return new Footnote ( options ) ; } , RunningHeader ( options ) { return new RunningHeader ( options ) ; } , Replace ( options ) { return new Replace ( options ) ; } , FullBleedSpread ( options ) { return new FullBleedSpread ( options ) ; } , PageBreak ( options ) { return new PageBreak ( options ) ; } , PageReference ( options ) { return new PageReference ( options ) ; } , createRule ( options ) { return new Rule ( options ) ; } , } ;