import type { Empty, Metadata } from '@devvit/protos';
import { type AddButtonWidgetRequest, type AddCalendarWidgetRequest, type AddCommunityListWidgetRequest, type AddCustomWidgetRequest, type AddImageWidgetRequest, type AddPostFlairWidgetRequest, type AddTextAreaWidgetRequest, ButtonWidget, CalendarWidget, CommunityListWidget, CustomWidget, type DeleteWidgetRequest, type GetWidgetImageUploadLeaseRequest, GetWidgetImageUploadLeaseResponse, type GetWidgetsRequest, GetWidgetsResponse, ImageWidget, type OrderWidgetsRequest, PostFlairWidget, TextAreaWidget, type UpdateButtonWidgetRequest, type UpdateCalendarWidgetRequest, type UpdateCommunityListWidgetRequest, UpdateCommunityListWidgetResponse, type UpdateCustomWidgetRequest, type UpdateImageWidgetRequest, type UpdatePostFlairWidgetRequest, type UpdateTextAreaWidgetRequest } from '@devvit/protos/types/devvit/plugin/redditapi/widgets/widgets_msg.js';
import type { Widgets as _Widgets } from '@devvit/protos/types/devvit/plugin/redditapi/widgets/widgets_svc.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