import { type MultilingualCommand } from './index';
export declare const queryCommand: MultilingualCommand;
export declare const sendEmailCommand: MultilingualCommand;
export declare const logCommand: MultilingualCommand;
export declare const cacheCommand: MultilingualCommand;
export declare const completeServerPlugin: import("../index").LokaScriptPlugin;
export declare const usageExamples: {
    english: string;
    japanese: string;
    spanish: string;
    arabic: string;
    korean: string;
    chinese: string;
};
export declare const expressIntegration = "\nimport express from 'express';\nimport { getDefaultRegistry } from '@lokascript/core/registry';\nimport { createMultilingualServerPlugin } from '@lokascript/core/registry/multilingual';\nimport { createRequestEventSource } from '@lokascript/core/registry/examples/server-event-source';\n\nconst app = express();\nconst registry = getDefaultRegistry();\n\n// Install multilingual server plugin\nconst serverPlugin = createMultilingualServerPlugin({\n  languages: ['en', 'ja', 'es', 'ar'],\n});\nregistry.use(serverPlugin);\n\n// Create and register request event source\nconst requestSource = createRequestEventSource();\nregistry.eventSources.register('request', requestSource);\n\n// Middleware to inject context\napp.use((req, res, next) => {\n  // Register request/response in context\n  registry.context.register('request', () => req);\n  registry.context.register('response', () => res);\n  next();\n});\n\n// Route hyperscript handler\napp.use('/api/*', (req, res) => {\n  const handled = requestSource.handleRequest(\n    {\n      method: req.method,\n      url: req.url,\n      path: req.path,\n      query: req.query,\n      params: req.params,\n      headers: req.headers,\n      body: req.body,\n    },\n    {\n      status: (code) => { res.status(code); return res; },\n      header: (name, value) => { res.set(name, value); return res; },\n      json: (data) => res.json(data),\n      html: (content) => res.send(content),\n      text: (content) => res.send(content),\n      redirect: (url, code) => res.redirect(code ?? 302, url),\n      send: (data) => res.send(data),\n    }\n  );\n\n  if (!handled) {\n    res.status(404).json({ error: 'Not found' });\n  }\n});\n";
//# sourceMappingURL=examples.d.ts.map