import type { HasnaHttpTransport, HasnaRequestOptions } from "@hasna/contracts/client"; export type FeedFilter = { types: Array; subject?: string; }; export type FeedEvent = { event_id: string; envelope_sha256: string; accepted_at: string; envelope: Record; }; export type FeedPage = { protocol: "hasna.events.feed.v1"; sink_id: string; consumer_id: string; producer_id: string; corpus_id: string; source_authority_id: string; tenant_id: string; filter: FeedFilter; events: Array; cursor: string; has_more: boolean; initialized: boolean; }; export type FeedCapability = { protocol: "hasna.events.feed.v1"; sink_id: string; consumer_id: string; producer_id: string; corpus_id: string; source_authority_id: string; tenant_id: string; filter: FeedFilter; start: "now"; minimum_poll_seconds: 60; }; export type FeedGrant = { sink_id: string; consumer_id: string; producer_id: string; corpus_id: string; source_authority_id: string; app: string; types: Array; subject?: string; }; export type FeedGrants = { protocol: "hasna.events.feed.v1"; tenant_id: string; grants: Array; next: string | null; }; export declare function feedGrants(client: HasnaHttpTransport, options: HasnaRequestOptions): Promise; export declare function feedCapability(client: HasnaHttpTransport, options: HasnaRequestOptions): Promise; export declare function readFeed(client: HasnaHttpTransport, options: HasnaRequestOptions): Promise;