import { type APIFileComponent } from "discord-api-types/v10"; /** * Creates a file component * * Displays an attached file * * @param file This unfurled media item is unique in that it **only** support attachment references using the `attachment://` syntax * * **IMPORTANT**: * In order to use this component, you must add the `MessageFlags.IsComponentsV2` flag to your message */ export declare function File(file: APIFileComponent["file"] | string, config?: Omit): APIFileComponent;