import { SKILL_INSTALL_TOOL_NAME } from '../_vendored-contracts/skill-distribution.js'; export type SafeShareScope = 'local_only' | 'aggregate' | 'redacted_case' | 'public_case'; export interface SafeObservationConsentGrant { consent_grant_id: string; skill_slug: string; skill_version: string; consent_source: typeof SKILL_INSTALL_TOOL_NAME; status: 'accepted' | 'declined'; upload_scope: SafeShareScope; reward_policy_ref?: string; consented_at: string; user_can_revoke: true; } export interface CreateInstallConsentGrantInput { skillSlug: string; skillVersion: string; decision?: 'accepted' | 'declined'; uploadScope?: SafeShareScope; rewardPolicyRef?: string; skillfmHome?: string; } export interface LocalCaseRecord { case_id: string; emitted_at: string; skill_slug: string; observation: unknown; } export declare function defaultSkillfmHome(): string; export declare function consentGrantPath(skillSlug: string, skillfmHome?: string): string; export declare function casesJsonlPath(skillSlug: string, skillfmHome?: string): string; export declare function createInstallConsentGrant(input: CreateInstallConsentGrantInput): Promise; export declare function readInstallConsentGrant(skillSlug: string, skillfmHome?: string): Promise; export declare function appendSafeObservationCase(skillSlug: string, observation: unknown, skillfmHome?: string): Promise; export declare function readSafeObservationCases(skillSlug: string, skillfmHome?: string): Promise; //# sourceMappingURL=store.d.ts.map