// Type definitions for [~λΌμ΄λΈλ¬λ¦¬ μ΄λ¦~] [~μ νμ λ²μ μ«μ~]
// Project: [~νλ‘μ νΈ μ΄λ¦~]
// Definitions by: [~λ΄ μ΄λ¦~] <[~λ΄ URL~]>
/*~ μ μ νλ¬κ·ΈμΈμ μμ±νλ λ°©λ²μ 보μ¬μ£Όλ ν
νλ¦Ώμ
λλ€. */
/*~ κΈ°μ‘΄μ νμ
μ μΈμ μμ±νκ³ , μλ‘μ΄ λ©€λ²λ₯Ό μΆκ°νμΈμ.
*~ μλ₯Ό λ€μ΄, μλλ λ΄μ₯ μ«μ νμ
μ 'toBinaryString' λ©μλλ₯Ό μΆκ°νμ¬
*~ μ€λ²λΌμ΄λ ν©λλ€.
*/
interface Number {
toBinaryString(opts?: MyLibrary.BinaryFormatOptions): string;
toBinaryString(callback: MyLibrary.BinaryFormatCallback, opts?: MyLibrary.BinaryFormatOptions): string;
}
/*~ μ¬λ¬ νμ
μ μ μΈν΄μΌ νλ€λ©΄, μ μ λ€μμ€νμ΄μ€μ λ§μ κ²μ μΆκ°νλ μν©μ νΌνκΈ° μν΄
*~ λ€μμ€νμ΄μ€ μμ μμΉμν€μΈμ.
*/
declare namespace MyLibrary {
type BinaryFormatCallback = (n: number) => string;
interface BinaryFormatOptions {
prefix?: string;
padding: number;
}
}