import { Content } from "ts-confluence-client/dist/resources/types"; import { IDoxUser } from "./types"; /** * Sets the content owner for the given content by updating the CUSTOM_PROP_NAME custom property on that content. * @param content This can be a content ID or a Content object * @param owner This can be an account ID or an AtlassianUser object */ export declare const setContentOwner: (content: string | Content, owner: string | IDoxUser) => Promise; /** * Gets the content owner for the given content by using this algorithm: * 1. Check that the docupdater prop is set and valid for the given doc. Return owner from that if it is * 2. Check ancestors starting from closest to furthest doing the same thing as #1. Return if owner is found. * 3. Take the last updated by value from the given content and use that as the owner. * @param content This can be a content ID or a Content object */ export declare const getContentOwner: (content: string | Content) => Promise;