export declare function setHeading(editor: any, { type }: { type?: string; }): any;