-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
34 lines (30 loc) · 926 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
declare namespace Winelog {
export type EventsLogFiles = "Application" | "System" | "Security" | "Setup";
export interface EventLog {
eventId: number;
providerName: string;
providerSourceName?: string;
providerGUID?: string;
correlationActivityGUID?: string;
channel?: string;
computer: string;
timeCreated: string;
level: number;
task: number;
opcode: number;
keywords: number;
eventRecordID: number;
processID: number | null;
threadID: number | null;
}
interface ReadOptions {
reverseDirection?: boolean;
xPathQuery?: string;
}
export function readEventLog(logName: EventsLogFiles, options?: ReadOptions): AsyncIterableIterator<EventLog>;
export const files: {
[key: EventsLogFiles]: string;
};
}
export as namespace Winelog;
export = Winelog;