export { assertNoLegacyLocalModelPrefix } from '../internal/legacy-local-model-prefix.js';
export declare function withOptionalHeadSubjectUserId<T extends {
    head: {
        subjectUserId: string;
    };
}>(request: T, subjectUserId: string | undefined): T;
export declare function flattenImageProviderOptions(value: unknown): Record<string, unknown>;
export declare function toVideoModeValue(value: 't2v' | 'i2v-first-frame' | 'i2v-first-last' | 'i2v-reference'): number;
export declare function toVideoRoleValue(value: 'prompt' | 'first_frame' | 'last_frame' | 'reference_image'): number;
//# sourceMappingURL=model-factory-shared.d.ts.map