/** * The media library. * * Uploading is the one endpoint in WordPress that does not take JSON: it wants * the raw bytes with the filename in a Content-Disposition header, and it * accepts no other fields in the same request. So an upload with a title and * alt text is two calls, and `wp_upload_media` does both rather than returning * an untitled attachment and leaving the caller to discover why. * * The upload source is a URL rather than a local path on purpose. This server * can be running on the user's laptop or hosted somewhere else entirely, and a * hosted one has no access to their filesystem, so a path argument would work * in one deployment and silently fail in the other. */ export declare const listMedia: import("@thenavidm/slipway").Tool; export declare const getMedia: import("@thenavidm/slipway").Tool; export declare const uploadMedia: import("@thenavidm/slipway").Tool; export declare const deleteMedia: import("@thenavidm/slipway").Tool; export declare const MEDIA_TOOLS: import("@thenavidm/slipway").Tool[];