<commit_before>export interface PackingOutput<T> {
    bins: T[][]
    oversized: T[]
}

export interface BoundOutput {
    bound: number
    oversized: number
}

export type InputObject<T> =
    T[] |
    Iterable<T> |
    { [index: string]: T }

export type PackingFunction<T> = (
    obj:  InputObject<T>,
    sizeOf: (item: T) => number,
    capacity: number
) => PackingOutput<T>

export type BoundFunction<T> = (
    obj: InputObject<T>,
    sizeOf: (item: T) => number,
    capacity: number
) => BoundOutput
    
export { nextFit, firstFit, firstFitDecreasing, bestFitDecreasing } from './pack/fit-algos'
export { binCompletion } from './pack/bin-completion'
export { lowerBound1, lowerBound2 } from './pack/bounds'
export { nextFitVarCap } from './pack/fit-variable-capacity'
    
export { Bin }  from './repack/bin'
export { Analysis, ItemAnalysis }  from './repack/analysis'
export { Item }  from './repack/item'
export { repack, packNew } from './repacker'
export { remove, removeAll } from './repack/remove'
export {
    packFeasibility,
    validateBins,
    ErrorHandler,
    ThrowingErrorHandler
} from './repack/validation'<commit_msg>Fill added to top level exports<commit_after>export interface PackingOutput<T> {
    bins: T[][]
    oversized: T[]
}

export interface BoundOutput {
    bound: number
    oversized: number
}

export type InputObject<T> =
    T[] |
    Iterable<T> |
    { [index: string]: T }

export type PackingFunction<T> = (
    obj:  InputObject<T>,
    sizeOf: (item: T) => number,
    capacity: number
) => PackingOutput<T>

export type BoundFunction<T> = (
    obj: InputObject<T>,
    sizeOf: (item: T) => number,
    capacity: number
) => BoundOutput
    
export { nextFit, firstFit, firstFitDecreasing, bestFitDecreasing } from './pack/fit-algos'
export { binCompletion } from './pack/bin-completion'
export { lowerBound1, lowerBound2 } from './pack/bounds'
export { nextFitVarCap } from './pack/fit-variable-capacity'
    
export { Bin }  from './repack/bin'
export { Analysis, ItemAnalysis }  from './repack/analysis'
export { Item }  from './repack/item'
export { repack, packNew } from './repacker'
export { remove, removeAll } from './repack/remove'
export { fill } from './repack/fill'
export {
    packFeasibility,
    validateBins,
    ErrorHandler,
    ThrowingErrorHandler
} from './repack/validation'
{'fraction_non_alphanumeric': 0.13619007212558337, 'fraction_numerical': 0.0016970725498515061, 'mean_word_length': 3.525911708253359, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 27, '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': '3337585', 'n_tokens_mistral': 776, 'n_tokens_neox': 753, 'n_words': 200}