export default usePostById; /** * Gets post data for a specific post given its ID. The post type is * looked up from the search endpoint, cached, and then passed to usePost. * * @param {int} postId The ID for the post to return. * @param {function} getPostType Optional custom function that returns a post type string. * @param {object} options Optional object containing parameters to pass to getEntityRecord. * @returns {object} An object containing a hasResolved property * and the returned post object. */ declare function usePostById(postId: int, getPostType?: Function, options?: object): object; //# sourceMappingURL=index.d.ts.map