import { WindowsEventLogSinkOptions } from "./types.cjs";
import { Sink } from "@logtape/logtape";

//#region sink.deno.d.ts

/**
 * Creates a Windows Event Log sink for Deno environments using FFI.
 *
 * This implementation uses Deno's Foreign Function Interface to directly
 * call Windows Event Log APIs, providing reliable Event Log integration
 * without depending on external packages.
 *
 * @param options Configuration options for the sink
 * @returns A LogTape sink that writes to Windows Event Log
 * @throws {WindowsPlatformError} If not running on Windows
 * @throws {WindowsEventLogError} If Event Log operations fail
 *
 * @example
 * ```typescript
 * import { getWindowsEventLogSink } from "@logtape/windows-eventlog";
 *
 * const sink = getWindowsEventLogSink({
 *   sourceName: "MyApp"
 * });
 * ```
 *
 * @since 1.0.0
 */
declare function getWindowsEventLogSink(options: WindowsEventLogSinkOptions): Sink & Disposable;
//# sourceMappingURL=sink.deno.d.ts.map
//#endregion
export { getWindowsEventLogSink };
//# sourceMappingURL=sink.deno.d.cts.map