function isFileSource(source): source is ContentPartFileSource<string>;Defined in: packages/ai/src/utilities/content-source.ts:11
Narrow a ContentPartSource to the provider-file-reference arm.
Issuer adapters use this to route a file source to their native wire field; everyone else is protected by the core preflight (see assertMessagesFileSourceSupport) plus a defensive throw at their own mapping site.
source is ContentPartFileSource<string>