export declare function assertUnreachable(value: never): never; export declare function partition(xs: T[], fn: (x: T) => boolean): [T[], T[]]; export declare type TokenPosition = { index: number; outerIndex: number; length: number; }; export declare function showInContext(strs: readonly string[], pos: TokenPosition): string; export declare class ParseError extends Error { constructor(message: string, strs: readonly string[], pos: TokenPosition); } export declare class CompileError extends Error { }