import type { AddButtonWidgetRequest, AddCalendarWidgetRequest, AddCommunityListWidgetRequest, AddCustomWidgetRequest, AddImageWidgetRequest, AddPostFlairWidgetRequest, AddTextAreaWidgetRequest, DeleteWidgetRequest, GetWidgetImageUploadLeaseRequest, GetWidgetsRequest, Metadata, OrderWidgetsRequest, UpdateButtonWidgetRequest, UpdateCalendarWidgetRequest, UpdateCommunityListWidgetRequest, UpdateCustomWidgetRequest, UpdateImageWidgetRequest, UpdatePostFlairWidgetRequest, UpdateTextAreaWidgetRequest, Widgets as _Widgets } from '@devvit/protos';
import { ButtonWidget, CalendarWidget, CommunityListWidget, CustomWidget, GetWidgetImageUploadLeaseResponse, GetWidgetsResponse, ImageWidget, PostFlairWidget, TextAreaWidget, UpdateCommunityListWidgetResponse } from '@devvit/protos';
import { Empty } from '@devvit/protos/types/google/protobuf/empty.js';
import { RedditAPI } from './RedditAPI.js';
export declare class Widgets extends RedditAPI implements _Widgets {
    AddButtonWidget(request: AddButtonWidgetRequest, metadata: Metadata): Promise<ButtonWidget>;
    AddImageWidget(request: AddImageWidgetRequest, metadata: Metadata): Promise<ImageWidget>;
    AddCalendarWidget(request: AddCalendarWidgetRequest, metadata: Metadata): Promise<CalendarWidget>;
    AddTextAreaWidget(request: AddTextAreaWidgetRequest, metadata: Metadata): Promise<TextAreaWidget>;
    AddCommunityListWidget(request: AddCommunityListWidgetRequest, metadata: Metadata): Promise<CommunityListWidget>;
    AddPostFlairWidget(request: AddPostFlairWidgetRequest, metadata: Metadata): Promise<PostFlairWidget>;
    AddCustomWidget(request: AddCustomWidgetRequest, metadata: Metadata): Promise<CustomWidget>;
    DeleteWidget(request: DeleteWidgetRequest, metadata: Metadata): Promise<Empty>;
    UpdateButtonWidget(request: UpdateButtonWidgetRequest, metadata: Metadata): Promise<ButtonWidget>;
    UpdateImageWidget(request: UpdateImageWidgetRequest, metadata: Metadata): Promise<ImageWidget>;
    UpdateCalendarWidget(request: UpdateCalendarWidgetRequest, metadata: Metadata): Promise<CalendarWidget>;
    UpdateTextAreaWidget(request: UpdateTextAreaWidgetRequest, metadata: Metadata): Promise<TextAreaWidget>;
    UpdateCommunityListWidget(request: UpdateCommunityListWidgetRequest, metadata: Metadata): Promise<UpdateCommunityListWidgetResponse>;
    UpdatePostFlairWidget(request: UpdatePostFlairWidgetRequest, metadata: Metadata): Promise<PostFlairWidget>;
    UpdateCustomWidget(request: UpdateCustomWidgetRequest, metadata: Metadata): Promise<CustomWidget>;
    OrderWidgets(request: OrderWidgetsRequest, metadata: Metadata): Promise<Empty>;
    GetWidgetImageUploadLease(request: GetWidgetImageUploadLeaseRequest, metadata: Metadata): Promise<GetWidgetImageUploadLeaseResponse>;
    GetWidgets(request: GetWidgetsRequest, metadata: Metadata): Promise<GetWidgetsResponse>;
}
//# sourceMappingURL=Widgets.d.ts.map