import { WithMarkType } from '../typings/leaf'; import { ToggleMark } from './typings'; export declare type CreateToggleMarkCreatorOptions = WithMarkType; export declare type CreateToggleMarkOptions = Partial; export declare function createToggleMarkCreator(defaults: CreateToggleMarkCreatorOptions): ({ type }?: CreateToggleMarkOptions) => ToggleMark;