import type { StarterGrantServiceConfig } from "./types.js"; export type AttributionEventType = "private_message_received" | "skill_usage"; export interface RecordAttributionEventInput { ref?: string; type: AttributionEventType; walletAddress?: string; installId?: string; skillId?: string; venue?: string; metadata?: Record; } export declare function resolveAttributionRefForInstall(config: StarterGrantServiceConfig | undefined): Promise; export declare function recordAttributionEvent(configInput: StarterGrantServiceConfig | undefined, input: RecordAttributionEventInput, fetchImpl?: typeof fetch): Promise; export interface RecordPrivateMessageAttributionInput { walletAddress: string; recipient: string; transactionHash: string; messageId: string; venue?: string; } export declare function recordPrivateMessageAttribution(configInput: StarterGrantServiceConfig | undefined, input: RecordPrivateMessageAttributionInput, fetchImpl?: typeof fetch): Promise;