export interface IWordAtPosition { readonly word: string; readonly startColumn: number; readonly endColumn: number; } export declare const USUAL_WORD_SEPARATORS = "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?"; export declare const DEFAULT_WORD_REGEXP: RegExp; export declare function ensureValidWordDefinition(wordDefinition?: RegExp | null): RegExp; export declare function getWordAtText(column: number, wordDefinition: RegExp, text: string, textOffset: number): IWordAtPosition | null; export declare function regExpLeadsToEndlessLoop(regexp: RegExp): boolean; export declare const DefaultWordPattern: RegExp;