20 lines
393 B
TypeScript
20 lines
393 B
TypeScript
declare namespace TorInternals {
|
|
export interface ApplicationState {
|
|
torInternalsData: State | undefined
|
|
}
|
|
|
|
export interface State {
|
|
generalInfo: GeneralInfo,
|
|
log: string,
|
|
torControlEvents: string[]
|
|
}
|
|
|
|
export interface GeneralInfo {
|
|
torVersion: string,
|
|
torPid: number,
|
|
torProxyURI: string,
|
|
isTorConnected: boolean,
|
|
torInitPercentage: string
|
|
}
|
|
}
|