/** * Soft revenue nudge after a free first call, and agent-actionable * payment_required copy. Dependency-free so the gateway, MCP client, * and wording tests share one source. */ export declare const APICLAW_UPGRADE_URL = "https://apiclaw.cloud/upgrade"; export declare const FIRST_CALL_REVENUE_NUDGE_MESSAGE = "First call landed. Free APIs stay free. For paid APIs (e.g. OpenRouter chat), add a card once at https://apiclaw.cloud/upgrade (provider cost + 15%), then retry."; export declare const PAYMENT_REQUIRED_MESSAGE = "You've used the free managed allowance. Add a card at https://apiclaw.cloud/upgrade, then retry this same call. You pay the provider cost plus 15 percent, with no subscription fee."; export type FirstCallRevenueNudge = { kind: "add_payment_method"; message: string; upgradeUrl: string; }; export declare function workspaceHasPaymentMethod(workspace: { hasPaymentMethod?: boolean | null; hasCardAttached?: boolean | null; }): boolean; /** * Attach once, on a newly recorded first_call success, only when this * call was free/activation and the workspace has no card. A card on file * means the customer does not need another card prompt here; exact PAYG * activation is still verified independently by the gateway. */ export declare function firstCallRevenueNudge(input: { firstCallRecorded: boolean; hasPaymentMethod: boolean; billingClass?: string | null; }): FirstCallRevenueNudge | null; export declare function attachFirstCallRevenueNudge>(payload: T, nudge: FirstCallRevenueNudge | null): T; //# sourceMappingURL=first-call-nudge.d.ts.map