import { IIconProps } from '@fluentui/react'; import { TypedHash } from '@pnp/common'; import { Web } from '@pnp/sp'; import { Schema } from 'sp-js-provisioning'; import { ContentConfig } from './ContentConfig'; import { ProjectExtension } from './ProjectExtension'; import { UserSelectableObject } from './UserSelectableObject'; export interface IProjectTemplateSPItem { Id?: number; IsDefaultTemplate?: boolean; IsDefaultExtensionsLocked?: boolean; IsDefaultListContentLocked?: boolean; IconName?: string; ListContentConfigLookupId?: number[]; File?: { UniqueId: string; Name: string; Title: string; ServerRelativeUrl: string; }; FieldValuesAsText?: TypedHash; GtProjectTemplateId?: number; GtProjectExtensionsId?: number[]; GtProjectColumns: string; GtProjectCustomColumns: string; GtProjectContentType: string; GtProjectStatusContentType: string; GtIsProgram: boolean; GtIsParentProject: boolean; IsHiddenTemplate: boolean; GtProjectPhaseTermId: string; } /** * @model ProjectTemplate */ export declare class ProjectTemplate extends UserSelectableObject { web: Web; iconProps: Pick; projectTemplateId: number; projectTemplateUrl: string; contentConfig: number[]; isDefaultContentConfigLocked: boolean; extensions: number[]; isDefaultExtensionsLocked: boolean; isProgram: boolean; isParentProject: boolean; isForced: boolean; private _projectContentType; private _projectStatusContentType; private _projectColumns; private _projectCustomColumns; private _projectPhaseTermId; constructor(spItem: IProjectTemplateSPItem, web: Web); /** * Get content configurations for the template * * @param contentConfig Available content configurations */ getContentConfig(contentConfig: ContentConfig[]): ContentConfig[]; /** * Get extensions for the template * * @param extensions Available extensions */ getExtensions(extensions: ProjectExtension[]): ProjectExtension[]; getSchema(): Promise; } //# sourceMappingURL=ProjectTemplate.d.ts.map