export declare function matchBefore(code: string, pos: number, expr: RegExp): { from: number; to: number; text: string; };