export interface PostRemoteOpts {
    content: string;
    source?: string;
    /** Server-suggested retention. The server is free to clamp or ignore. */
    ttlSeconds?: number;
}
/**
 * Upload markdown to the configured remote paste server. Returns the
 * shareable URL on success, null otherwise (caller should degrade).
 *
 * Failure modes that return null (without throwing):
 *   - env not configured
 *   - upload body too large
 *   - network timeout / DNS / 5xx
 *   - non-JSON or missing `url` in response
 *
 * Returns null instead of throwing so the message-sink degradation
 * path is the same as for "no public URL configured at all".
 */
export declare function postPasteRemote(opts: PostRemoteOpts): Promise<string | null>;
//# sourceMappingURL=viewer-remote.d.ts.map