/// import { Core } from '@strapi/strapi'; export declare const isAllowedTo: (strapi: Core.Strapi, ctx: any, action: string) => any; declare const _default: { admin: ({ strapi }: { strapi: Core.Strapi; }) => { createVideoId(ctx: any): Promise; uploadThumbnail(ctx: any): Promise; create(ctx: any): Promise; findAll(ctx: any): Promise; token(ctx: any): Promise; update(ctx: any): Promise; delete(ctx: any): Promise; getTopVideos(ctx: any): Promise; }; 'api-video-asset': ({ strapi, }: { strapi: Core.Strapi; }) => { webhookEncodingCompleted: (ctx: import("koa").Context) => Promise<{ received: boolean; error: "Missing webhook authentication headers."; message?: undefined; } | { received: boolean; error: "Missing raw request body. Enable raw body parsing to verify the webhook signature."; message?: undefined; } | { received: boolean; error: "Webhook secret not found for the provided webhook ID."; message?: undefined; } | { received: boolean; error: "Webhook signature verification failed."; message?: undefined; } | { received: boolean; message: "Webhook received and ignored because the event type is not relevant."; error?: undefined; } | { received: boolean; message: "Webhook received and accepted, but the video duration is not available yet."; error?: undefined; } | { received: boolean; message: "Webhook received and accepted, but no matching video asset was found."; error?: undefined; } | { received: boolean; message: "Webhook received and accepted, but the matching video asset has no document ID."; error?: undefined; } | { received: boolean; message: "Webhook received and accepted, but the duration is already up to date."; error?: undefined; } | { received: boolean; message: "Webhook received and processed successfully. Duration updated."; error?: undefined; } | { received: boolean; error: "Failed to process api.video webhook."; message?: undefined; }>; count: (ctx: import("koa").Context) => Promise; find: (ctx: import("koa").Context) => Promise; findOne: (ctx: import("koa").Context) => Promise; } & Core.CoreAPI.Controller.Base; settings: ({ strapi }: { strapi: Core.Strapi; }) => { getSettings(ctx: any): Promise; saveSettings(ctx: any): Promise; }; }; export default _default;