import type { MeshAgent } from "./agent.js"; /** Whole messages for a host that can confirm native admission. No receive keys cross the host API. */ export interface InlineDeliveryPayload { text: string; count: number; remaining: number; } export interface InlineDeliveryBatch { payload: InlineDeliveryPayload; /** Recheck before admission: an explicit inbox read or attention change may have superseded it. */ current(): boolean; /** Release every hold; only a successful native admission commits the exact offered deliveries. */ settle(delivered: boolean): void; } type Source = Pick; /** Select and format complete automatic messages without consuming a preview or truncating a body. * The adapter measures its final transport envelope, including any escaping and receipt metadata. */ export declare function prepareInlineDelivery(agent: Source, options: { connectionId: string; fits(payload: InlineDeliveryPayload): boolean; maxItemCodePoints?: number; maxItems?: number; }): InlineDeliveryBatch | undefined; export {}; //# sourceMappingURL=inline-delivery.d.ts.map