<commit_before>// Type definitions for rasha 1.2
// Project: https://git.coolaj86.com/coolaj86/rasha.js
// Definitions by: <NAME> <https://github.com/Just1B>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <reference types="node" />

export as namespace Rasha;

export interface Jwk {
    kty: string;
    n: string;
    e: string;
    d: string;
    p: string;
    q: string;
    dp: string;
    dq: string;
    qi: string;
}

export interface GenerateOptions {
    format: string;
    encoding?: string;
    modulusLength?: number;
    publicExponent?: number;
}

export interface ImportOptions {
    pem: string;
    public: boolean;
}

export interface ExportOptions {
    jwk: Jwk;<commit_msg>🤖 Merge PR #46760 [rasha] Remove superfluous /// <reference types="node" /> by @jablko<commit_after>// Type definitions for rasha 1.2
// Project: https://git.coolaj86.com/coolaj86/rasha.js
// Definitions by: <NAME> <https://github.com/Just1B>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export as namespace Rasha;

export interface Jwk {
    kty: string;
    n: string;
    e: string;
    d: string;
    p: string;
    q: string;
    dp: string;
    dq: string;
    qi: string;
}

export interface GenerateOptions {
    format: string;
    encoding?: string;
    modulusLength?: number;
    publicExponent?: number;
}

export interface ImportOptions {
    pem: string;
    public: boolean;
}

export interface ExportOptions {
    jwk: Jwk;
{'fraction_non_alphanumeric': 0.12457912457912458, 'fraction_numerical': 0.012794612794612794, 'mean_word_length': 3.1741573033707864, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 6, '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': '3791356', 'n_tokens_mistral': 512, 'n_tokens_neox': 488, 'n_words': 135}