export interface ASSEvent {
    Start: number;
    Duration: number;
    Name: string;
    Effect: string;
    Text: string;
    ReadOrder: number;
    Layer: number;
    Style: number;
    MarginL: number;
    MarginR: number;
    MarginV: number;
}
export interface ASSStyle {
    Name: string;
    FontName: string;
    FontSize: number;
    PrimaryColour: number;
    SecondaryColour: number;
    OutlineColour: number;
    BackColour: number;
    Bold: number;
    Italic: number;
    Underline: number;
    StrikeOut: number;
    ScaleX: number;
    ScaleY: number;
    Spacing: number;
    Angle: number;
    BorderStyle: number;
    Outline: number;
    Shadow: number;
    Alignment: number;
    MarginL: number;
    MarginR: number;
    MarginV: number;
    Encoding: number;
    treat_fontname_as_pattern: number;
    Blur: number;
    Justify: number;
}
export interface ASSImage {
    w: number;
    h: number;
    dst_x: number;
    dst_y: number;
    stride: number;
    color: number;
    bitmap: number;
    cache_id: number;
}
export declare const WEIGHT_MAP: readonly ["thin", "extralight", "light", "regular", "medium", "semibold", "bold", "extrabold", "black", "ultrablack"];
export type WeightValue = typeof WEIGHT_MAP[number];
export declare function fetchok(url: string): Promise<Response>;
export declare function fetchtext(url: string): Promise<string>;
export declare const THREAD_COUNT: number;
