import { ISharingEmailData, ISharingResult, SharingRole } from "./types.js"; import { RoleType } from "./types.js"; /** * Extend _Web */ declare module "../webs/types" { interface _Web { shareWith: (loginNames: string | string[], role?: SharingRole, emailData?: ISharingEmailData) => Promise; shareObject: (url: string, loginNames: string | string[], role: SharingRole, emailData?: ISharingEmailData, group?: RoleType, propagateAcl?: boolean, includeAnonymousLinkInEmail?: boolean, useSimplifiedRoles?: boolean) => Promise; shareObjectRaw(options: any): Promise; unshareObject(url: string): Promise; } interface IWeb { shareWith: (loginNames: string | string[], role?: SharingRole, emailData?: ISharingEmailData) => Promise; shareObject: (url: string, loginNames: string | string[], role: SharingRole, emailData?: ISharingEmailData, group?: RoleType, propagateAcl?: boolean, includeAnonymousLinkInEmail?: boolean, useSimplifiedRoles?: boolean) => Promise; shareObjectRaw(options: any): Promise; unshareObject(url: string): Promise; } } //# sourceMappingURL=web.d.ts.map