import { type EndpointClientConfig } from '@smartthings/core-sdk'; export type InvitationMetadata = { name: string; description: string; owner: string; termsUrl: string; }; export type InvitationCreate = { resource: { root: { service: 'core' | 'iam' | 'platform' | 'mdu' | 'developer'; id?: string; }; components: { kind: 'root' | 'location' | 'device' | 'user' | 'property' | 'group' | 'role' | 'policy' | 'unit' | 'partner' | 'installedapp' | 'channel' | 'deviceprofile' | 'namespace' | 'driver'; id: string; }[]; }; profileId: string; metadata: InvitationMetadata; /** * optional expiration in seconds from the epoch */ expiration?: number; }; export type Invitation = InvitationCreate & { id: string; acceptUrl: string; }; export type InvitationSummary = { invitationId: string; acceptUrl: string; }; export type InvitesEndpoint = { create(invitation: InvitationCreate): Promise; get(id: string): Promise; list(channelId: string): Promise; delete(id: string): Promise; accept(id: string): Promise; }; export declare const invitesEndpoint: (config: EndpointClientConfig) => InvitesEndpoint; //# sourceMappingURL=invites.d.ts.map