import { TagType } from './asn1'; export interface WriterOptions { size?: number; growthFactor: number; } export declare class Asn1Writer { private _buf; private _size; private _offset; private _options; private _seq; get buffer(): Uint8Array; constructor(options?: Partial); get offset(): number; getBuffer(allowOpenSequences?: boolean): Uint8Array; writeByte(b: number): void; writeInt(i: number, tag?: TagType): void; writeNull(): void; writeEnumeration(i: number, tag?: TagType): void; writeBoolean(b: boolean, tag?: TagType): void; writeString(s: string, tag?: TagType): void; writeBuffer(buf: Uint8Array, tag?: TagType): void; writeBitString(buf: Uint8Array, tag?: TagType): void; writeStringArray(strings: string[], tag?: TagType): void; writeOID(s?: string, tag?: TagType): void; writeLength(len: number): void; writeTime(date: Date, tag?: TagType.UTCTime | TagType.GeneralizedTime): void; startSequence(tag?: TagType): void; endSequence(): void; private _shift; private _ensure; } //# sourceMappingURL=asn1_writer.d.ts.map