/** * Resource helpers for use in scripts. * * Scripts run inside an authenticated request context (set by the agent * runtime) or — in CLI-only contexts — read AGENT_USER_EMAIL. Both paths * require a real identity; there is no dev-mode fallback. */ import { type ResourceMeta, type EffectiveResourceContext, type ResourceVisibility, type ResourceCreatedBy } from "./store.js"; type ResourceHelperScope = "personal" | "shared" | "workspace"; export declare function readResource(path: string, options?: { shared?: boolean; scope?: ResourceHelperScope; }): Promise; export declare function writeResource(path: string, content: string, options?: { shared?: boolean; scope?: Exclude; mimeType?: string; visibility?: ResourceVisibility; createdBy?: ResourceCreatedBy; threadId?: string | null; runId?: string | null; expiresAt?: number | null; metadata?: string | Record | null; }): Promise; export declare function deleteResource(path: string, options?: { shared?: boolean; scope?: Exclude; }): Promise; export declare function listResources(prefix?: string, options?: { shared?: boolean; scope?: ResourceHelperScope; includeAgentScratch?: boolean; }): Promise; export declare function listAllResources(prefix?: string, options?: { includeAgentScratch?: boolean; }): Promise; export declare function getEffectiveResourceContext(path: string): Promise; export {}; //# sourceMappingURL=script-helpers.d.ts.map