/** * Shared Utilities for Lagoon Skills * * Common text blocks, triggers, and helpers to reduce duplication * across skill implementations. * * @module skills/shared */ /** * Standard disclaimers for customer-facing skills */ export declare const COMMON_DISCLAIMERS: { /** * Not financial advice disclaimer */ readonly notFinancialAdvice: "**NOT FINANCIAL ADVICE**: This analysis is for informational and educational purposes ONLY. It does NOT constitute financial, investment, legal, or tax advice."; /** * Total loss risk disclaimer */ readonly totalLossRisk: "**TOTAL LOSS RISK**: Users can lose 100% of their investment. Only amounts they can afford to lose completely should be invested."; /** * No guarantees disclaimer */ readonly noGuarantees: "**NO GUARANTEES**: Past performance does NOT predict future results. Historical APRs are NOT indicative of future performance."; /** * Full disclaimer block combining all three - use in customer-facing skills */ readonly full: "## Critical Disclaimers\n\n**NOT FINANCIAL ADVICE**: This analysis is for informational and educational purposes ONLY. It does NOT constitute financial, investment, legal, or tax advice.\n\n**TOTAL LOSS RISK**: Users can lose 100% of their investment. Only amounts they can afford to lose completely should be invested.\n\n**NO GUARANTEES**: Past performance does NOT predict future results. Historical APRs are NOT indicative of future performance."; }; /** * Communication guidelines for skills - language standards for customer interactions */ export declare const COMMUNICATION_GUIDELINES = "### Language Standards\n\n**NEVER use**:\n- \"I recommend you invest...\"\n- \"You should buy/deposit...\"\n- \"This is a good investment...\"\n- \"Best choice for you...\"\n\n**ALWAYS use**:\n- \"Historical data shows...\"\n- \"For educational purposes, consider...\"\n- \"This vault's characteristics include...\"\n- \"One approach is...\"\n\n### Tone\n- **Encouraging**: Build confidence, not fear\n- **Educational**: Explain \"why\" behind each analysis step\n- **Practical**: Focus on actionable next steps\n- **Honest**: Don't oversell or hide risks"; /** * Common trigger phrases that can be combined across skills */ export declare const COMMON_TRIGGERS: { /** * Risk-related triggers */ readonly riskAnalysis: readonly ["risk", "risk analysis", "how risky", "risk score", "risk assessment", "risk level"]; /** * Portfolio-related triggers */ readonly portfolioRelated: readonly ["portfolio", "my vaults", "my positions", "my holdings", "my investments"]; /** * Performance-related triggers */ readonly performanceRelated: readonly ["performance", "returns", "apr", "yield", "how is it doing", "track record"]; /** * Support-related triggers */ readonly supportRelated: readonly ["help", "issue", "problem", "not working", "stuck", "question"]; }; /** * Risk score visual scale - use in skills that display risk scores */ export declare const RISK_SCORE_SCALE = "## Risk Score Scale\n```\n0 20 40 60 80 100\n|-----|-----|-----|-----|-----|\n Very Low Med High Very\n Low High\n```\n\n**Interpretation**:\n- **0-20 (Very Low)**: Minimal risk factors identified\n- **21-40 (Low)**: Conservative profile suitable\n- **41-60 (Medium)**: Moderate risk, requires awareness\n- **61-80 (High)**: Elevated risk, for experienced users\n- **81-100 (Very High)**: Maximum risk exposure"; /** * Helper to combine trigger arrays without duplicates * * @param triggerArrays - Arrays of trigger strings to combine * @returns Combined array with lowercase, deduplicated triggers * * @example * ```typescript * const triggers = combineTriggers( * COMMON_TRIGGERS.riskAnalysis, * ['deep risk', 'comprehensive risk'] * ); * ``` */ export declare function combineTriggers(...triggerArrays: string[][]): string[]; /** * Estimate token count for content * Uses 3.5 chars/token ratio (accurate for Lagoon's dense technical content) * * @param content - String content to estimate * @returns Estimated token count */ export declare function estimateTokens(content: string): number; //# sourceMappingURL=shared.d.ts.map