export interface PostJsonResult { status: number; json: unknown; } export interface PostJsonOptions { /** 强制 IP 协议族:4 / 6;缺省跟随系统默认解析(含 net 层 happy-eyeballs)。 */ family?: 4 | 6; timeoutMs?: number; /** 附加请求头(如 `Authorization: Bearer `)。不能覆盖 content-* 两个。 */ headers?: Record; } export declare function postJson(url: string, body: unknown, opts?: PostJsonOptions): Promise; /** 同 {@link postJson} 的连接口径(含 family 钉死),只是不带请求体的 GET。 */ export declare function getJson(url: string, opts?: PostJsonOptions): Promise; //# sourceMappingURL=platform-http.d.ts.map