import { UmbDocumentTypeStructureServerDataSource } from './document-type-structure.server.data-source.js';
import { UmbContentTypeStructureRepositoryBase } from '../../../../content/content-type/index.js';
export class UmbDocumentTypeStructureRepository extends UmbContentTypeStructureRepositoryBase {
    constructor(host) {
        super(host, UmbDocumentTypeStructureServerDataSource);
    }
    get #documentTypeDataSource() {
        return this._dataSource;
    }
    async requestAllowedParentsOf(unique) {
        return this.#documentTypeDataSource.getAllowedParentsOf(unique);
    }
}
export { UmbDocumentTypeStructureRepository as api };
