import type { Context } from 'koa'; /** What the mux-asset handlers pass on to the document service: never `ctx.query` itself. */ export interface MuxAssetQuery { filters?: unknown; sort?: unknown; fields?: unknown; populate?: unknown; _q?: unknown; } /** The request's query with only the keys the caller may use, checked for the API it came through. */ export declare const getMuxAssetQuery: (ctx: Context) => Promise; /** Strips private and password fields and relations the caller can't read, on the content API only. */ export declare const sanitizeMuxAssetOutput: (ctx: Context, data: T) => Promise; /** * `start`/`limit` (what the admin page sends) or `page`/`pageSize`, top level or under `pagination`. * Without them, the first `maxLimit` items. Like Strapi, a `limit`/`pageSize` of -1 or above the * maximum gets the maximum, and one below 1 gets 1. */ export declare const getPagination: (ctx: Context) => { start: number; limit: number; };