import type { Observable } from 'rxjs';
import type { Fragment, Frame, FragmentType } from '../models/frame-api.options';
import { CuiApiContext } from '../../tokens';
import * as i0 from "@angular/core";
export declare class CuiFrameApiService {
private readonly http;
private readonly FRAMER_URL;
private readonly FRAGMENT_URL;
getFrame(frameId: string, context?: CuiApiContext): Observable;
createFrame(context?: CuiApiContext): Observable;
createFragment(frameId: string, type: FragmentType, context?: CuiApiContext): Observable;
deleteFragment(frameId: string, fragmentId: string, context?: CuiApiContext): Observable;
uploadResource(body: FormData, frameId: string, fragmentId: string, context?: CuiApiContext): Observable<{
resource: string;
}>;
deleteResource(frameId: string, fragmentId: string, context?: CuiApiContext): Observable;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵprov: i0.ɵɵInjectableDeclaration;
}