/**
 * Web Worker for running the Postgres Language Server in the browser.
 *
 * This worker implements the LSP message handling pattern compatible with
 * monaco-languageclient's BrowserMessageReader/BrowserMessageWriter.
 *
 * @example
 * ```typescript
 * // In your main application:
 * import { MonacoLanguageClient } from 'monaco-languageclient';
 * import { BrowserMessageReader, BrowserMessageWriter } from 'vscode-languageserver-protocol/browser';
 *
 * // Create worker
 * const worker = new Worker(new URL('./worker.ts', import.meta.url), { type: 'module' });
 *
 * // Wait for worker to be ready
 * await new Promise<void>((resolve) => {
 *   worker.onmessage = (e) => {
 *     if (e.data.type === 'ready') resolve();
 *   };
 * });
 *
 * // Standard monaco-languageclient setup
 * const reader = new BrowserMessageReader(worker);
 * const writer = new BrowserMessageWriter(worker);
 *
 * const languageClient = new MonacoLanguageClient({
 *   name: 'PGLS',
 *   clientOptions: {
 *     documentSelector: [{ language: 'sql' }],
 *   },
 *   messageTransports: { reader, writer },
 * });
 *
 * languageClient.start();
 * ```
 */
export type {};
//# sourceMappingURL=worker.d.ts.map