import { type BaseCollectionPaginationCountResponse, type Entity, type KeyValue } from '../index.js';
import { type AdditionalDataHolder, type BackedModel, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions';
/**
 * Creates a new instance of the appropriate class based on discriminator value
 * @param parseNode The parse node to use to read the discriminator value and create the object
 * @returns {GroupCollectionResponse}
 */
export declare function createGroupCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
 * Creates a new instance of the appropriate class based on discriminator value
 * @param parseNode The parse node to use to read the discriminator value and create the object
 * @returns {Group}
 */
export declare function createGroupFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
 * Creates a new instance of the appropriate class based on discriminator value
 * @param parseNode The parse node to use to read the discriminator value and create the object
 * @returns {LocalizedDescription}
 */
export declare function createLocalizedDescriptionFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
 * Creates a new instance of the appropriate class based on discriminator value
 * @param parseNode The parse node to use to read the discriminator value and create the object
 * @returns {LocalizedLabel}
 */
export declare function createLocalizedLabelFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
 * Creates a new instance of the appropriate class based on discriminator value
 * @param parseNode The parse node to use to read the discriminator value and create the object
 * @returns {LocalizedName}
 */
export declare function createLocalizedNameFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
 * Creates a new instance of the appropriate class based on discriminator value
 * @param parseNode The parse node to use to read the discriminator value and create the object
 * @returns {RelationCollectionResponse}
 */
export declare function createRelationCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
 * Creates a new instance of the appropriate class based on discriminator value
 * @param parseNode The parse node to use to read the discriminator value and create the object
 * @returns {Relation}
 */
export declare function createRelationFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
 * Creates a new instance of the appropriate class based on discriminator value
 * @param parseNode The parse node to use to read the discriminator value and create the object
 * @returns {SetCollectionResponse}
 */
export declare function createSetCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
 * Creates a new instance of the appropriate class based on discriminator value
 * @param parseNode The parse node to use to read the discriminator value and create the object
 * @returns {Set}
 */
export declare function createSetFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
 * Creates a new instance of the appropriate class based on discriminator value
 * @param parseNode The parse node to use to read the discriminator value and create the object
 * @returns {StoreCollectionResponse}
 */
export declare function createStoreCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
 * Creates a new instance of the appropriate class based on discriminator value
 * @param parseNode The parse node to use to read the discriminator value and create the object
 * @returns {Store}
 */
export declare function createStoreFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
 * Creates a new instance of the appropriate class based on discriminator value
 * @param parseNode The parse node to use to read the discriminator value and create the object
 * @returns {TermCollectionResponse}
 */
export declare function createTermCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
 * Creates a new instance of the appropriate class based on discriminator value
 * @param parseNode The parse node to use to read the discriminator value and create the object
 * @returns {Term}
 */
export declare function createTermFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
 * The deserialization information for the current model
 * @returns {Record<string, (node: ParseNode) => void>}
 */
export declare function deserializeIntoGroup(group?: Partial<Group> | undefined): Record<string, (node: ParseNode) => void>;
/**
 * The deserialization information for the current model
 * @returns {Record<string, (node: ParseNode) => void>}
 */
export declare function deserializeIntoGroupCollectionResponse(groupCollectionResponse?: Partial<GroupCollectionResponse> | undefined): Record<string, (node: ParseNode) => void>;
/**
 * The deserialization information for the current model
 * @returns {Record<string, (node: ParseNode) => void>}
 */
export declare function deserializeIntoLocalizedDescription(localizedDescription?: Partial<LocalizedDescription> | undefined): Record<string, (node: ParseNode) => void>;
/**
 * The deserialization information for the current model
 * @returns {Record<string, (node: ParseNode) => void>}
 */
export declare function deserializeIntoLocalizedLabel(localizedLabel?: Partial<LocalizedLabel> | undefined): Record<string, (node: ParseNode) => void>;
/**
 * The deserialization information for the current model
 * @returns {Record<string, (node: ParseNode) => void>}
 */
export declare function deserializeIntoLocalizedName(localizedName?: Partial<LocalizedName> | undefined): Record<string, (node: ParseNode) => void>;
/**
 * The deserialization information for the current model
 * @returns {Record<string, (node: ParseNode) => void>}
 */
export declare function deserializeIntoRelation(relation?: Partial<Relation> | undefined): Record<string, (node: ParseNode) => void>;
/**
 * The deserialization information for the current model
 * @returns {Record<string, (node: ParseNode) => void>}
 */
export declare function deserializeIntoRelationCollectionResponse(relationCollectionResponse?: Partial<RelationCollectionResponse> | undefined): Record<string, (node: ParseNode) => void>;
/**
 * The deserialization information for the current model
 * @returns {Record<string, (node: ParseNode) => void>}
 */
export declare function deserializeIntoSet(set?: Partial<Set> | undefined): Record<string, (node: ParseNode) => void>;
/**
 * The deserialization information for the current model
 * @returns {Record<string, (node: ParseNode) => void>}
 */
export declare function deserializeIntoSetCollectionResponse(setCollectionResponse?: Partial<SetCollectionResponse> | undefined): Record<string, (node: ParseNode) => void>;
/**
 * The deserialization information for the current model
 * @returns {Record<string, (node: ParseNode) => void>}
 */
export declare function deserializeIntoStore(store?: Partial<Store> | undefined): Record<string, (node: ParseNode) => void>;
/**
 * The deserialization information for the current model
 * @returns {Record<string, (node: ParseNode) => void>}
 */
export declare function deserializeIntoStoreCollectionResponse(storeCollectionResponse?: Partial<StoreCollectionResponse> | undefined): Record<string, (node: ParseNode) => void>;
/**
 * The deserialization information for the current model
 * @returns {Record<string, (node: ParseNode) => void>}
 */
export declare function deserializeIntoTerm(term?: Partial<Term> | undefined): Record<string, (node: ParseNode) => void>;
/**
 * The deserialization information for the current model
 * @returns {Record<string, (node: ParseNode) => void>}
 */
export declare function deserializeIntoTermCollectionResponse(termCollectionResponse?: Partial<TermCollectionResponse> | undefined): Record<string, (node: ParseNode) => void>;
export interface Group extends Entity, Parsable {
    /**
     * Date and time of the group creation. Read-only.
     */
    createdDateTime?: Date | null;
    /**
     * Description that gives details on the term usage.
     */
    description?: string | null;
    /**
     * Name of the group.
     */
    displayName?: string | null;
    /**
     * ID of the parent site of this group.
     */
    parentSiteId?: string | null;
    /**
     * Returns the type of the group. Possible values are: global, system, and siteCollection.
     */
    scope?: TermGroupScope | null;
    /**
     * All sets under the group in a term [store].
     */
    sets?: Set[] | null;
}
export interface GroupCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
    /**
     * The value property
     */
    value?: Group[] | null;
}
export interface LocalizedDescription extends AdditionalDataHolder, BackedModel, Parsable {
    /**
     * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
     */
    additionalData?: Record<string, unknown>;
    /**
     * Stores model information.
     */
    backingStoreEnabled?: boolean | null;
    /**
     * The description in the localized language.
     */
    description?: string | null;
    /**
     * The language tag for the label.
     */
    languageTag?: string | null;
    /**
     * The OdataType property
     */
    odataType?: string | null;
}
export interface LocalizedLabel extends AdditionalDataHolder, BackedModel, Parsable {
    /**
     * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
     */
    additionalData?: Record<string, unknown>;
    /**
     * Stores model information.
     */
    backingStoreEnabled?: boolean | null;
    /**
     * Indicates whether the label is the default label.
     */
    isDefault?: boolean | null;
    /**
     * The language tag for the label.
     */
    languageTag?: string | null;
    /**
     * The name of the label.
     */
    name?: string | null;
    /**
     * The OdataType property
     */
    odataType?: string | null;
}
export interface LocalizedName extends AdditionalDataHolder, BackedModel, Parsable {
    /**
     * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
     */
    additionalData?: Record<string, unknown>;
    /**
     * Stores model information.
     */
    backingStoreEnabled?: boolean | null;
    /**
     * The language tag for the label.
     */
    languageTag?: string | null;
    /**
     * The name in the localized language.
     */
    name?: string | null;
    /**
     * The OdataType property
     */
    odataType?: string | null;
}
export interface Relation extends Entity, Parsable {
    /**
     * The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set].
     */
    fromTerm?: Term | null;
    /**
     * The type of relation. Possible values are: pin, reuse.
     */
    relationship?: RelationType | null;
    /**
     * The [set] in which the relation is relevant.
     */
    set?: Set | null;
    /**
     * The to [term] of the relation. The term to which the relationship is defined.
     */
    toTerm?: Term | null;
}
export interface RelationCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
    /**
     * The value property
     */
    value?: Relation[] | null;
}
export type RelationType = (typeof RelationTypeObject)[keyof typeof RelationTypeObject];
/**
 * Serializes information the current object
 * @param writer Serialization writer to use to serialize this model
 */
export declare function serializeGroup(writer: SerializationWriter, group?: Partial<Group> | undefined | null): void;
/**
 * Serializes information the current object
 * @param writer Serialization writer to use to serialize this model
 */
export declare function serializeGroupCollectionResponse(writer: SerializationWriter, groupCollectionResponse?: Partial<GroupCollectionResponse> | undefined | null): void;
/**
 * Serializes information the current object
 * @param writer Serialization writer to use to serialize this model
 */
export declare function serializeLocalizedDescription(writer: SerializationWriter, localizedDescription?: Partial<LocalizedDescription> | undefined | null): void;
/**
 * Serializes information the current object
 * @param writer Serialization writer to use to serialize this model
 */
export declare function serializeLocalizedLabel(writer: SerializationWriter, localizedLabel?: Partial<LocalizedLabel> | undefined | null): void;
/**
 * Serializes information the current object
 * @param writer Serialization writer to use to serialize this model
 */
export declare function serializeLocalizedName(writer: SerializationWriter, localizedName?: Partial<LocalizedName> | undefined | null): void;
/**
 * Serializes information the current object
 * @param writer Serialization writer to use to serialize this model
 */
export declare function serializeRelation(writer: SerializationWriter, relation?: Partial<Relation> | undefined | null): void;
/**
 * Serializes information the current object
 * @param writer Serialization writer to use to serialize this model
 */
export declare function serializeRelationCollectionResponse(writer: SerializationWriter, relationCollectionResponse?: Partial<RelationCollectionResponse> | undefined | null): void;
/**
 * Serializes information the current object
 * @param writer Serialization writer to use to serialize this model
 */
export declare function serializeSet(writer: SerializationWriter, set?: Partial<Set> | undefined | null): void;
/**
 * Serializes information the current object
 * @param writer Serialization writer to use to serialize this model
 */
export declare function serializeSetCollectionResponse(writer: SerializationWriter, setCollectionResponse?: Partial<SetCollectionResponse> | undefined | null): void;
/**
 * Serializes information the current object
 * @param writer Serialization writer to use to serialize this model
 */
export declare function serializeStore(writer: SerializationWriter, store?: Partial<Store> | undefined | null): void;
/**
 * Serializes information the current object
 * @param writer Serialization writer to use to serialize this model
 */
export declare function serializeStoreCollectionResponse(writer: SerializationWriter, storeCollectionResponse?: Partial<StoreCollectionResponse> | undefined | null): void;
/**
 * Serializes information the current object
 * @param writer Serialization writer to use to serialize this model
 */
export declare function serializeTerm(writer: SerializationWriter, term?: Partial<Term> | undefined | null): void;
/**
 * Serializes information the current object
 * @param writer Serialization writer to use to serialize this model
 */
export declare function serializeTermCollectionResponse(writer: SerializationWriter, termCollectionResponse?: Partial<TermCollectionResponse> | undefined | null): void;
export interface Set extends Entity, Parsable {
    /**
     * Children terms of set in term [store].
     */
    children?: Term[] | null;
    /**
     * Date and time of set creation. Read-only.
     */
    createdDateTime?: Date | null;
    /**
     * Description that gives details on the term usage.
     */
    description?: string | null;
    /**
     * Name of the set for each languageTag.
     */
    localizedNames?: LocalizedName[] | null;
    /**
     * The parentGroup property
     */
    parentGroup?: Group | null;
    /**
     * Custom properties for the set.
     */
    properties?: KeyValue[] | null;
    /**
     * Indicates which terms have been pinned or reused directly under the set.
     */
    relations?: Relation[] | null;
    /**
     * All the terms under the set.
     */
    terms?: Term[] | null;
}
export interface SetCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
    /**
     * The value property
     */
    value?: Set[] | null;
}
export interface Store extends Entity, Parsable {
    /**
     * Default language of the term store.
     */
    defaultLanguageTag?: string | null;
    /**
     * Collection of all groups available in the term store.
     */
    groups?: Group[] | null;
    /**
     * List of languages for the term store.
     */
    languageTags?: string[] | null;
    /**
     * Collection of all sets available in the term store. This relationship can only be used to load a specific term set.
     */
    sets?: Set[] | null;
}
export interface StoreCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
    /**
     * The value property
     */
    value?: Store[] | null;
}
export interface Term extends Entity, Parsable {
    /**
     * Children of current term.
     */
    children?: Term[] | null;
    /**
     * Date and time of term creation. Read-only.
     */
    createdDateTime?: Date | null;
    /**
     * Description about term that is dependent on the languageTag.
     */
    descriptions?: LocalizedDescription[] | null;
    /**
     * Label metadata for a term.
     */
    labels?: LocalizedLabel[] | null;
    /**
     * Last date and time of term modification. Read-only.
     */
    lastModifiedDateTime?: Date | null;
    /**
     * Collection of properties on the term.
     */
    properties?: KeyValue[] | null;
    /**
     * To indicate which terms are related to the current term as either pinned or reused.
     */
    relations?: Relation[] | null;
    /**
     * The [set] in which the term is created.
     */
    set?: Set | null;
}
export interface TermCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
    /**
     * The value property
     */
    value?: Term[] | null;
}
export type TermGroupScope = (typeof TermGroupScopeObject)[keyof typeof TermGroupScopeObject];
export declare const RelationTypeObject: {
    readonly Pin: "pin";
    readonly Reuse: "reuse";
    readonly UnknownFutureValue: "unknownFutureValue";
};
export declare const TermGroupScopeObject: {
    readonly Global: "global";
    readonly System: "system";
    readonly SiteCollection: "siteCollection";
    readonly UnknownFutureValue: "unknownFutureValue";
};
//# sourceMappingURL=index.d.ts.map