import { NRKSuperMetadataSeriesOptions, NRKSuperPageOptions, SuperInstalmentOptions } from '../interfaces'; /** ______ _____ ____ _ _ _______ _____ _______ ______ _____ ____ _______ __ _____ _____ ______ _____ | ____| __ \ / __ \| \ | |__ __| ___ / ____| /\|__ __| ____/ ____|/ __ \| __ \ \ / / | __ \ /\ / ____| ____|/ ____| | |__ | |__) | | | | \| | | | ( _ ) | | / \ | | | |__ | | __| | | | |__) \ \_/ /_____| |__) / \ | | __| |__ | (___ | __| | _ /| | | | . ` | | | / _ \/\ | | / /\ \ | | | __|| | |_ | | | | _ / \ /______| ___/ /\ \| | |_ | __| \___ \ | | | | \ \| |__| | |\ | | | | (_> < | |____ / ____ \| | | |___| |__| | |__| | | \ \ | | | | / ____ \ |__| | |____ ____) | |_| |_| \_\\____/|_| \_| |_| \___/\/ \_____/_/ \_\_| |______\_____|\____/|_| \_\ |_| |_| /_/ \_\_____|______|_____/ */ /** * Get all NRK Super pages * @returns {Promise} Returns all NRK Super pages * @example getAllSuperPages() * @throws {PageNotFoundError} if the page doesn't exist * @throws {RateLimitError} if the rate limit is exceeded * @throws {AgeRestrictionError} if the item is age restricted * @throws {AxiosError} if the request fails */ export declare const getAllSuperPages: () => Promise; /** * Get a NRK Super page * @param {string} pageId - The ID of the NRK Super page * @param {NRKSuperPageOptions} options - Options for the NRK Super page (default: undefined) * @returns {Promise} - Returns a NRK Super page * @example getNRKSuperPage('superforside') * @throws {PageNotFoundError} if the page doesn't exist * @throws {RateLimitError} if the rate limit is exceeded * @throws {AgeRestrictionError} if the item is age restricted * @throws {AxiosError} if the request fails */ export declare const getNRKSuperPage: (pageId: string, options?: NRKSuperPageOptions) => Promise; /** _____ _____ ____ _____ _____ __ __ _____ _____ ______ _____ _____ ______ _____ _____ _____ ______ _____ | __ \| __ \ / __ \ / ____| __ \ /\ | \/ |/ ____| ___ / ____| ____| __ \|_ _| ____|/ ____| | __ \ /\ / ____| ____|/ ____| | |__) | |__) | | | | | __| |__) | / \ | \ / | (___ ( _ ) | (___ | |__ | |__) | | | | |__ | (___ ______| |__) / \ | | __| |__ | (___ | ___/| _ /| | | | | |_ | _ / / /\ \ | |\/| |\___ \ / _ \/\ \___ \| __| | _ / | | | __| \___ \______| ___/ /\ \| | |_ | __| \___ \ | | | | \ \| |__| | |__| | | \ \ / ____ \| | | |____) | | (_> < ____) | |____| | \ \ _| |_| |____ ____) | | | / ____ \ |__| | |____ ____) | |_| |_| \_\\____/ \_____|_| \_\/_/ \_\_| |_|_____/ \___/\/ |_____/|______|_| \_\_____|______|_____/ |_| /_/ \_\_____|______|_____/ */ /** * Get metadata from a NRK Super program * @param {string} programId - The ID of the NRK Super program * @returns {Promise} - Returns metadata from a NRK Super program * @example getSuperProgramMetadata('MSUS08000119') * @throws {InvalidProgramIdError} - If the program id is invalid * @throws {PageNotFoundError} if the page doesn't exist * @throws {RateLimitError} if the rate limit is exceeded * @throws {AgeRestrictionError} if the item is age restricted * @throws {AxiosError} if the request fails */ export declare const getSuperProgramMetadata: (programId: string) => Promise; /** * Get dimensions for a NRK Super program * @param {string} programId - The ID of the NRK Super program * @returns {Promise} - Returns dimensions for a NRK Super program * @example getSuperProgramDimensions('MSUS08000119') * @throws {InvalidProgramIdError} - If the program id is invalid * @throws {PageNotFoundError} if the page doesn't exist * @throws {RateLimitError} if the rate limit is exceeded * @throws {AgeRestrictionError} if the item is age restricted * @throws {AxiosError} if the request fails */ export declare const getSuperProgramDimensions: (programId: string) => Promise; /** * Get a NRK Super program link * @param {string} programId - The ID of the NRK Super program * @returns {Promise} - Returns a NRK Super program link * @example getSuperProgramLink('MSUS08000119') * @throws {InvalidProgramIdError} - If the program id is invalid * @throws {PageNotFoundError} if the page doesn't exist * @throws {RateLimitError} if the rate limit is exceeded * @throws {AgeRestrictionError} if the item is age restricted * @throws {AxiosError} if the request fails */ export declare const getSuperProgramLink: (programId: string) => Promise; /** * Get a NRK Super series metadata * @param {string} seriesId - The ID of the NRK Super series * @param {NRKSuperMetadataSeriesOptions} options - Options for the NRK Super series (default: undefined) * @returns {Promise} - Returns a NRK Super series metadata * @example getSuperSeriesMetadata('supernytt') * @throws {InvalidProgramIdError} - If the program id is invalid * @throws {PageNotFoundError} if the page doesn't exist * @throws {RateLimitError} if the rate limit is exceeded * @throws {AgeRestrictionError} if the item is age restricted * @throws {AxiosError} if the request fails */ export declare const getSuperSeriesMetadata: (seriesId: string, options?: NRKSuperMetadataSeriesOptions) => Promise; /** * Get the type of series * @param {string} seriesId - The ID of the NRK Super series * @returns {Promise} - Returns the type of series * @example getSuperTypeSeries('supernytt') * @throws {InvalidProgramIdError} - If the program id is invalid * @throws {PageNotFoundError} if the page doesn't exist * @throws {RateLimitError} if the rate limit is exceeded * @throws {AgeRestrictionError} if the item is age restricted * @throws {AxiosError} if the request fails */ export declare const getSuperTypeSeries: (seriesId: string) => Promise; /** * Get the extramaterial of a series * @param {string} seriesId - The ID of the NRK Super series * @returns {Promise} - Returns the extramaterial of a series * @example getSuperSeriesExtramaterial('supernytt') * @throws {InvalidProgramIdError} - If the program id is invalid * @throws {PageNotFoundError} if the page doesn't exist * @throws {RateLimitError} if the rate limit is exceeded * @throws {AgeRestrictionError} if the item is age restricted * @throws {AxiosError} if the request fails */ export declare const getSuperSeriesExtramaterial: (seriesId: string) => Promise; /** * Get the instalments of a series * @param {string} seriesId - The ID of the NRK Super series * @param {SuperInstalmentOptions} options - Options for the NRK Super series (default: undefined) * @returns {Promise} - Returns the instalments of a series * @example getSuperSeriesInstalments('supernytt') * @throws {InvalidProgramIdError} - If the program id is invalid * @throws {PageNotFoundError} if the page doesn't exist * @throws {RateLimitError} if the rate limit is exceeded * @throws {AgeRestrictionError} if the item is age restricted * @throws {AxiosError} if the request fails */ export declare const getSuperSeriesInstalments: (seriesId: string, options?: SuperInstalmentOptions) => Promise; export declare const getSuperSeason: (seriesId: string, seasonId: string) => Promise;