export namespace NoteActions { export function isActionPosition ( text , position ) { } export function computePromptFromText ( text , start , end ) { if ( start >= 2 ) { const prefix = text . substring ( start - 2 , start - 1 ) ; if ( prefix !== ' ' ) { return undefined ; } } return text . substring ( start , end ) ; } }