import type { UmbRelationTypeDetailModel } from '../../types.js';
import type { UmbControllerHost } from '../../../../../libs/controller-api/index.js';
import type { UmbReadDetailRepository } from '../../../../core/repository/index.js';
import { UmbRepositoryBase } from '../../../../core/repository/index.js';
export declare class UmbRelationTypeDetailRepository extends UmbRepositoryBase implements UmbReadDetailRepository<UmbRelationTypeDetailModel> {
    #private;
    constructor(host: UmbControllerHost);
    /**
     * Requests the detail for the given unique
     * @param {string} unique
     * @returns {*}
     * @memberof UmbDetailRepositoryBase
     */
    requestByUnique(unique: string): Promise<{
        data: UmbRelationTypeDetailModel | undefined;
        error: import("../../../../core/resources/index.js").UmbApiError | import("../../../../core/resources/index.js").UmbCancelError | undefined;
        asObservable: () => import("rxjs").Observable<UmbRelationTypeDetailModel | undefined>;
    }>;
    /**
     * Returns a promise with an observable of the detail for the given unique
     * @param {string} unique
     * @returns {*}
     * @memberof UmbDetailRepositoryBase
     */
    byUnique(unique: string): Promise<import("rxjs").Observable<UmbRelationTypeDetailModel | undefined>>;
}
export default UmbRelationTypeDetailRepository;
