import { NumberingListType } from 'roosterjs-editor-types'; import type { VListChain } from 'roosterjs-editor-dom'; /** * @internal * @param textBeforeCursor The trigger character * @param previousListChain @optional This parameters is used to keep the list chain, if the is not a new list * @param previousListStyle @optional The list style of the previous list * @returns The style of a numbering list triggered by a string */ export default function getAutoNumberingListStyle(textBeforeCursor: string, previousListChain?: VListChain[], previousListStyle?: NumberingListType): NumberingListType | null;