// export async function fetchMovies(search: string): Promise<SearchResult> {
//     let baseUrl : string = 'https://api.themoviedb.org/3/';
//     let apiKey : string = 'c32a7171dc4b406f32637cdf78abc946';
//     return fetch(
//         `${baseUrl}/search/movie?api_key=${apiKey}&language=fr-FR&query=${search}&page=1&include_adult=false`
//     ).then(async (res) => await res.json()) as Promise<SearchResult>;
// }

export {}