import './pre-init.js'; import { applyStoredModelSelections } from './config/model-store.js'; import type { ConfirmationHandler, ConfirmationRequest } from './runtime/confirm.js'; import { clearSessionApprovals } from './runtime/confirm.js'; import type { ProgressEvent } from './runtime/progress.js'; import type { CreateJobInput, JobLog, JobStatus, ListJobsOptions, ZilMateJob } from './jobs/types.js'; import type { ZilMateVoiceConfig, ZilMateVoiceSessionOptions, ZilMateVoiceSessionResult } from './voice/types.js'; import type { ImageGenerationOptions, ImageGenerationResult } from './tools/image-generate.tool.js'; import type { LongTermMemory } from './memory/long-term.js'; export type { ConfirmationHandler, ConfirmationRequest, ProgressEvent }; export { clearSessionApprovals, applyStoredModelSelections }; export type { ZilMateVoiceConfig, ZilMateVoiceSessionOptions, ZilMateVoiceSessionResult }; export type { ImageGenerationOptions, ImageGenerationResult }; export type { LongTermMemory }; export type { CreateJobInput, JobLog, JobStatus, ListJobsOptions, ZilMateJob }; export type ZilMateAuditEvent = { requestId: string; sessionId: string; action: string; phase: 'start' | 'success' | 'error'; status: 'ok' | 'error'; timestamp: string; detail?: string | undefined; metadata?: Record | undefined; }; export type ZilMateAuditHandler = (event: ZilMateAuditEvent) => void; export type ZilMateOptions = { sessionId?: string; onProgress?: (event: ProgressEvent) => void; confirm?: ConfirmationHandler; onAudit?: ZilMateAuditHandler; }; export type ZilMateTextInput = { message: string; }; export type ZilMatePromptInput = { prompt: string; }; export type ZilMateQuestionInput = { question: string; }; export type ZilMateResearchInput = { query: string; }; export type ZilMateMemoryInput = { text: string; tags?: string[]; }; export type ZilMateRecallInput = { query?: string; limit?: number; }; export type ZilMateTextResult = { text: string; }; export type ZilMateSubagentName = 'quickHelp' | 'chat' | 'post' | 'image' | 'research' | 'automationPlanner' | 'personalAssistant' | 'developerHelper' | 'security' | 'coding' | 'goalManager' | 'finance' | 'digitalCorporation' | (string & {}); export type ZilMateSubagentInput = { subagent: ZilMateSubagentName; prompt: string; }; export declare function resolveSubagentRoute(subagent: ZilMateSubagentName): 'specialist' | 'swarm' | 'manager'; export declare function createZilMate(options?: ZilMateOptions): { chat: (input: ZilMateTextInput) => Promise; manager: (input: ZilMateTextInput | ZilMatePromptInput) => Promise; help: (input: ZilMateQuestionInput | ZilMateTextInput) => Promise; guide: (input: ZilMateTextInput) => Promise; post: (input: ZilMatePromptInput) => Promise; research: (input: ZilMateResearchInput | ZilMateTextInput) => Promise; coding: (input: ZilMatePromptInput) => Promise; imageAgent: (input: ZilMatePromptInput) => Promise; goalManager: (input: ZilMatePromptInput) => Promise; situation: (input?: { sessionId?: string; }) => Promise<{ sessionId: string; cwd: string; package: string; platform: string; workspace: string; models: { manager: string; coding: string; image: string; overrides: Partial>; }; capabilities: { gateway: boolean; composio: boolean; redis: boolean; qstash: boolean; jobs: boolean; voice: boolean; }; git: string; recentJobs: { id: string; status: JobStatus; task: string; }[]; memoryCount: number; owner: string; activeProjects: string[]; knowledgeNodes: number; }>; handoff: (input?: { sessionId?: string; }) => Promise<{ sessionId: string; summary: string; nextActions: string[]; openThreads: string[]; updatedAt: string; } | null>; image: (input: ZilMatePromptInput & ImageGenerationOptions) => Promise; remember: (input: ZilMateMemoryInput) => Promise; recall: (input?: ZilMateRecallInput) => Promise; listMemories: () => Promise; forget: (input: string | string[]) => Promise; clearMemories: () => Promise; createJob: (input: CreateJobInput) => Promise; listJobs: (input?: ListJobsOptions) => Promise; getJob: (id: string) => Promise; getJobLogs: (id: string) => Promise; runJob: (id: string) => Promise; runDueJobs: () => Promise; handleJobWebhook: (input: { jobId: string; secret?: string; }, expectedSecret?: string) => Promise; cancelJob: (id: string) => Promise; getVoiceConfig: () => Promise; startVoiceSession: (input?: ZilMateVoiceSessionOptions) => Promise; callSubagent: (input: ZilMateSubagentInput) => Promise; }; export declare function chat(input: ZilMateTextInput, options?: ZilMateOptions): Promise; export declare function help(input: ZilMateQuestionInput | ZilMateTextInput, options?: ZilMateOptions): Promise; export declare function post(input: ZilMatePromptInput, options?: ZilMateOptions): Promise; export declare function research(input: ZilMateResearchInput | ZilMateTextInput, options?: ZilMateOptions): Promise; export declare function image(input: ZilMatePromptInput & ImageGenerationOptions): Promise; export declare function callSubagent(input: ZilMateSubagentInput, options?: ZilMateOptions): Promise; //# sourceMappingURL=server.d.ts.map