import { AuthorEntity, PostEntity, PostSearchEntity, TermEntity } from '../types/index.js'; /** * Returns the author object from the post object if it exists * * @param post The Post object * * @category Data Handling */ export declare function getPostAuthor(post: PostEntity | PostSearchEntity): AuthorEntity[]; /** * Returns the terms associated with the post * * @param post The Post object * * @category Data Handling */ export declare function getPostTerms(post: PostEntity | PostSearchEntity): Record; export declare function removeFieldsFromPostRelatedData(fieldsToRemove: (keyof TermEntity | keyof AuthorEntity)[], post: PostEntity): PostEntity | { _embedded: { 'wp:featuredmedia': any; author: AuthorEntity[]; 'wp:term': TermEntity[][]; }; content: import("../types/index.js").RenderedWithBlockStyles; excerpt: import("../types/index.js").Rendered; format: "standard" | "aside" | "chat" | "gallery" | "link" | "image" | "quote" | "status" | "video" | "audio"; meta: Record; sticky: boolean; template: string; categories?: number[]; tags?: number[]; featured_media: number; date: string; date_gmt: string; guid: import("../types/index.js").Rendered; modified: string; modified_gmt: string; id: number; link: string; slug: string; status: "publish" | "future" | "draft" | "pending" | "private"; type: string; title: import("../types/index.js").Rendered; author?: AuthorEntity[]; terms?: Record; comment_status?: "open" | "closed"; ping_status: "open" | "closed"; yoast_head_json?: import("../types/index.js").YoastJSON | null; yoast_head?: string | null; };