import { Guid } from '@microsoft/sp-core-library'; /** * Object that represents the data necessary to build an `O365GroupAssociation` object. * * @internal */ export interface IO365GroupAssociationData { /** * {@inheritDoc O365GroupAssociation.id} */ id: string; /** * {@inheritDoc O365GroupAssociation."type"} */ type: string; } /** * {@inheritDoc O365GroupAssociation."type"} * @alpha */ export declare enum O365GroupAssociationType { Unknown = 0, Private = 1, Public = 2 } /** * This class is primarily used with the `PageContext` class. If the site is associated with an O365 * group, this object provides contextual information about the group. * * @alpha */ export default class O365GroupAssociation { /** * The GUID associated with the site's O365 Group. */ readonly id: Guid; /** * This enum identifies if the associated O365 Group private or public or unknown. */ readonly type: O365GroupAssociationType; /** * @internal */ constructor(data: IO365GroupAssociationData); } //# sourceMappingURL=O365GroupAssociation.d.ts.map