import type { PotShare, ResolvedPublicShare, ResolvedPublicShareItem, ResolvedShare, ShareKind, ShareRole } from "./types.js"; export interface ShareOptions { wsPath: string; } export interface CreatePotShareInput { pot: string; kind: ShareKind; principal?: string; role?: ShareRole; expiresAt?: number; } export declare function listPotShares(potRef: string, opts: { wsPath: string; }): Promise; export declare function listShares(opts: ShareOptions): Promise; export declare function listShareInbox(opts: ShareOptions): Promise; export declare function getShare(ref: string, opts: ShareOptions): Promise; export declare function createPotShare(input: CreatePotShareInput, opts: ShareOptions): Promise; export declare function approveShare(ref: string, opts: ShareOptions): Promise; export declare function revokeShare(ref: string, opts: ShareOptions): Promise; export declare function resolveShare(ref: string, opts: ShareOptions): Promise; export declare function getPublicShare(token: string, opts: ShareOptions): Promise; export declare function resolvePublicShare(token: string, opts: ShareOptions): Promise; export declare function resolvePublicShareItem(token: string, shareItemId: string, opts: ShareOptions): Promise; //# sourceMappingURL=shares.d.ts.map