<commit_before>export interface Bounds {
    left: number;
    right: number;
    top: number;
    bottom: number;
    width: number;
    height: number;
    size: number;
}

export interface Point {
    X: number;
    Y: number;
}

export interface PointLower {
    x: number;
    y: number;
}

export default class Shape {
    constructor(paths: Point[][]);
    constructor(paths: Point[][], closed: boolean);
    constructor(paths: (Point | PointLower)[][], closed: boolean, capitalConversion: boolean, integerConversion?: boolean);

    union(clipShape: Shape): Shape;
    difference(clipShape: Shape): Shape;
    intersect(clipShape: Shape): Shape;
    xor(clipShape: Shape): Shape;

    offset(offset: number, options?: any): Shape;
    scaleUp(factor: number): this;<commit_msg>Typings: Add paths and closed fields<commit_after>export interface Bounds {
    left: number;
    right: number;
    top: number;
    bottom: number;
    width: number;
    height: number;
    size: number;
}

export interface Point {
    X: number;
    Y: number;
}

export interface PointLower {
    x: number;
    y: number;
}

export default class Shape {
    paths: Point[][];
    closed: boolean;
    
    constructor(paths: Point[][]);
    constructor(paths: Point[][], closed: boolean);
    constructor(paths: (Point | PointLower)[][], closed: boolean, capitalConversion: boolean, integerConversion?: boolean);

    union(clipShape: Shape): Shape;
    difference(clipShape: Shape): Shape;
    intersect(clipShape: Shape): Shape;
    xor(clipShape: Shape): Shape;

    offset(offset: number, options?: any): Shape;
    scaleUp(factor: number): this;
{'fraction_non_alphanumeric': 0.12858013406459476, 'fraction_numerical': 0.0, 'mean_word_length': 3.7319884726224783, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5236341', 'n_tokens_mistral': 505, 'n_tokens_neox': 482, 'n_words': 148}