/**
 * Finds the first index of a character in a string that is a comma or the end of the string
 * @param text
 * @returns
 */
export declare function findCommaOrEnd(text: string): number;
export declare function trimBraces(text: string): string;
/**
 * Parses the items of an array or object
 * @param text
 * @param offset
 * @returns
 */
export declare function trimWithOffset(text: string, offset: number): [string, number];
//# sourceMappingURL=grammar.d.ts.map