export interface SelectResponsePayloadOptions { /** * The response key for the endpoint, e.g., `devices` for `/devices/list`, * usually taken from the API blueprint. * * When omitted, every top level field except {@link metaKeys} is kept. */ responseKey?: string | null | undefined; } /** * Reduce an API response body to the response key and pagination. * * The CLI never reports other top level fields: they are details of the * transport, so including them would leak into anything parsing stdout. */ export declare const selectResponsePayload: (data: unknown, { responseKey }?: SelectResponsePayloadOptions) => unknown;